#[non_exhaustive]pub struct SlsqpResult {
pub x: Vec<f64>,
pub fun: f64,
pub jac: Vec<f64>,
pub equality_multipliers: Vec<f64>,
pub inequality_multipliers: Vec<f64>,
pub maxcv: f64,
pub nfev: usize,
pub njev: usize,
pub nit: usize,
pub success: bool,
pub status: SlsqpStatus,
}Expand description
The result of slsqp.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x: Vec<f64>§fun: f64§jac: Vec<f64>The gradient of the objective at x.
equality_multipliers: Vec<f64>Multipliers of the equalities and (≥ 0) of the inequalities g(x) ≤ 0, from the last subproblem.
inequality_multipliers: Vec<f64>§maxcv: f64The largest constraint violation (bounds are always respected).
nfev: usizeEvaluations of the objective and constraints, of their derivatives, and iterations.
njev: usize§nit: usize§success: bool§status: SlsqpStatusTrait Implementations§
Source§impl Clone for SlsqpResult
impl Clone for SlsqpResult
Auto Trait Implementations§
impl Freeze for SlsqpResult
impl RefUnwindSafe for SlsqpResult
impl Send for SlsqpResult
impl Sync for SlsqpResult
impl Unpin for SlsqpResult
impl UnsafeUnpin for SlsqpResult
impl UnwindSafe for SlsqpResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more