Struct rplex::Solution [−][src]
pub struct Solution {
pub objective: f64,
pub variables: Vec<VariableValue>,
}
Expand description
Solution to a CPLEX Problem.
Currently, there is no way to select which variables are extracted
when using prob.solve()
. I am currently unfamiliar with the C
API for managing variables that remain unbound in the solution,
and so am unsure how to represent them.
Fields
objective: f64
The value of the objective reached by CPLEX.
variables: Vec<VariableValue>
The values bound to each variable.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Solution
impl UnwindSafe for Solution
Blanket Implementations
Mutably borrows from an owned value. Read more