Trait lp_solvers::lp_format::AsVariable [−][src]
A type that represents a variable. See crate::problem::Variable.
Required methods
fn name(&self) -> &str
[src]
Variable name. Needs to be unique. See crate::util::UniqueNameGenerator
fn is_integer(&self) -> bool
[src]
Whether the variable is forced to take only integer values
fn lower_bound(&self) -> f64
[src]
Minimum allowed value for the variable
fn upper_bound(&self) -> f64
[src]
Maximum allowed value for the variable