pub struct LinExpr { /* private fields */ }
Expand description
A linear expression.
constant + coef1 * var1 + coef2 * var2 + ...
Trait Implementations§
Source§impl Add<LinExpr> for Rational32
impl Add<LinExpr> for Rational32
Source§impl Mul<LinExpr> for Rational32
impl Mul<LinExpr> for Rational32
Source§impl Sub<LinExpr> for Rational32
impl Sub<LinExpr> for Rational32
Auto Trait Implementations§
impl Freeze for LinExpr
impl RefUnwindSafe for LinExpr
impl Send for LinExpr
impl Sync for LinExpr
impl Unpin for LinExpr
impl UnwindSafe for LinExpr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more