Struct quadprog::Solution[][src]

pub struct Solution {
    pub obj: f64,
    pub sol: Vec<f64>,
    pub lagr: Vec<f64>,
    pub iact: Vec<usize>,
    pub iter: usize,
}
Expand description

The solution to a quadratic program

  • obj is the objective value
  • sol is the vector solution
  • lagr is a vector the lagrange multipliers for each constraint
  • iact are the indices of the active constraints
  • iter is the number of added constraints over the course of execution

Fields

obj: f64sol: Vec<f64>lagr: Vec<f64>iact: Vec<usize>iter: usize

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.