Struct good_lp::solvers::coin_cbc::CoinCbcProblem [−][src]
This is supported on crate feature
coin_cbc
only.A coin-cbc model
Implementations
impl CoinCbcProblem
[src]
Trait Implementations
impl ModelWithSOS1 for CoinCbcProblem
[src]
Unfortunately, the current version of cbc silently ignores sos constraints on continuous variables. See https://github.com/coin-or/Cbc/issues/376
fn add_sos1<I: IntoAffineExpression>(&mut self, variables: I)
[src]
fn with_sos1<I: IntoAffineExpression>(self, variables_and_weights: I) -> Self where
Self: Sized,
[src]
Self: Sized,
impl SolverModel for CoinCbcProblem
[src]
type Solution = CoinCbcSolution
The type of the solution to the problem
type Error = ResolutionError
The error that can occur while solving the problem
fn solve(self) -> Result<Self::Solution, Self::Error>
[src]
fn add_constraint(&mut self, constraint: Constraint) -> ConstraintReference
[src]
fn with(self, constraint: Constraint) -> Self where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for CoinCbcProblem
impl Send for CoinCbcProblem
impl Sync for CoinCbcProblem
impl Unpin for CoinCbcProblem
impl UnwindSafe for CoinCbcProblem
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, 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>,