Struct lp_solvers::solvers::cbc::CbcSolver [−][src]
The coin-or cbc solver
Implementations
impl CbcSolver[src]
pub fn new() -> CbcSolver[src]
Crate a cbc solver instance
pub fn command_name(&self, command_name: String) -> CbcSolver[src]
set the name of the executable to use
pub fn with_temp_solution_file(&self, temp_solution_file: String) -> CbcSolver[src]
Set the temporary solution file to use
Trait Implementations
impl Clone for CbcSolver[src]
impl Debug for CbcSolver[src]
impl Default for CbcSolver[src]
impl SolverProgram for CbcSolver[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 CbcSolver[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>
impl WithMaxSeconds<CbcSolver> for CbcSolver[src]
fn max_seconds(&self) -> Option<u32>[src]
fn with_max_seconds(&self, seconds: u32) -> CbcSolver[src]
impl WithNbThreads<CbcSolver> for CbcSolver[src]
fn nb_threads(&self) -> Option<u32>[src]
fn with_nb_threads(&self, threads: u32) -> CbcSolver[src]
Auto Trait Implementations
impl RefUnwindSafe for CbcSolver
impl Send for CbcSolver
impl Sync for CbcSolver
impl Unpin for CbcSolver
impl UnwindSafe for CbcSolver
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>,