Trait good_lp::solvers::SolutionWithDual [−][src]
The dual value measures the increase in the objective function’s value per unit increase in the variable’s value. The dual value for a constraint is nonzero only when the constraint is equal to its bound. Also known as the shadow price. This trait handles the retrieval of dual values from a solver.
Associated Types
type Dual: DualValues[src]
Type of the object containing the dual values.
Required methods
fn compute_dual(&'a mut self) -> Self::Dual[src]
Get the dual values for a problem. If a solver requires running additional computations or allocating additional memory to get the dual values, this is performed when running this method.
Implementors
impl<'a> SolutionWithDual<'a> for HighsSolution[src]
This is supported on crate feature
highs only.