pub struct MixedLinearSolver { /* private fields */ }Implementations§
Source§impl MixedLinearSolver
impl MixedLinearSolver
pub fn new(maximize: bool) -> Self
pub fn get_variable(&self, symbol: &str) -> Option<&MixedVariable>
pub fn add_variable(&mut self, variable: MixedVariable)
pub fn add_equation(&mut self, equation: MixedEquation)
Sourcepub fn set_epsilon(&mut self, epsilon: f64)
pub fn set_epsilon(&mut self, epsilon: f64)
Creates a new solver with the given epsilon value.
Trait Implementations§
Source§impl Debug for MixedLinearSolver
impl Debug for MixedLinearSolver
impl LinearSolver for MixedLinearSolver
Auto Trait Implementations§
impl Freeze for MixedLinearSolver
impl RefUnwindSafe for MixedLinearSolver
impl Send for MixedLinearSolver
impl Sync for MixedLinearSolver
impl Unpin for MixedLinearSolver
impl UnwindSafe for MixedLinearSolver
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