Struct lp_solvers::solvers::gurobi::GurobiSolver [−][src]
The proprietary gurobi solver
Implementations
impl GurobiSolver
[src]
pub fn new() -> GurobiSolver
[src]
create a solver instance
pub fn command_name(&self, command_name: String) -> GurobiSolver
[src]
set the name of the commandline gurobi executable to use
Trait Implementations
impl Clone for GurobiSolver
[src]
fn clone(&self) -> GurobiSolver
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GurobiSolver
[src]
impl Default for GurobiSolver
[src]
impl SolverProgram for GurobiSolver
[src]
fn command_name(&self) -> &str
[src]
fn arguments(&self, lp_file: &Path, solution_file: &Path) -> Vec<OsString>
[src]
fn preferred_temp_solution_file(&self) -> Option<&Path>
[src]
fn parse_stdout_status(&self, stdout: &[u8]) -> Option<Status>
[src]
fn solution_suffix(&self) -> Option<&str>
[src]
impl SolverWithSolutionParsing for GurobiSolver
[src]
fn read_specific_solution<'a, P: LpProblem<'a>>(
&self,
f: &File,
_problem: Option<&'a P>
) -> Result<Solution, String>
[src]
&self,
f: &File,
_problem: Option<&'a P>
) -> Result<Solution, String>
fn read_solution<'a, P: LpProblem<'a>>(
&self,
temp_solution_file: &str,
problem: Option<&'a P>
) -> Result<Solution, String>
[src]
&self,
temp_solution_file: &str,
problem: Option<&'a P>
) -> Result<Solution, String>
fn read_solution_from_path<'a, P: LpProblem<'a>>(
&self,
temp_solution_file: &Path,
problem: Option<&'a P>
) -> Result<Solution, String>
[src]
&self,
temp_solution_file: &Path,
problem: Option<&'a P>
) -> Result<Solution, String>
Auto Trait Implementations
impl RefUnwindSafe for GurobiSolver
impl Send for GurobiSolver
impl Sync for GurobiSolver
impl Unpin for GurobiSolver
impl UnwindSafe for GurobiSolver
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SolverTrait for T where
T: SolverWithSolutionParsing + SolverProgram,
[src]
T: SolverWithSolutionParsing + SolverProgram,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,