Struct milp_types::MixedLinearSolver
source · 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.