pub struct NlpBatchSolution {
pub solver_status: SolverReturn,
pub x: Vec<Number>,
pub z_l: Vec<Number>,
pub z_u: Vec<Number>,
pub g: Vec<Number>,
pub lambda: Vec<Number>,
pub obj: Number,
}Expand description
Final iterate of one batch instance, captured from the
finalize_solution callback (owned copies of the borrowed
buffers).
Fields§
§solver_status: SolverReturnAlgorithm-level termination status (finer-grained than the
application-level NlpBatchResult::status).
x: Vec<Number>§z_l: Vec<Number>Lower / upper bound multipliers.
z_u: Vec<Number>§g: Vec<Number>Constraint values g(x) at the final iterate.
lambda: Vec<Number>Constraint multipliers.
obj: NumberTrait Implementations§
Source§impl Clone for NlpBatchSolution
impl Clone for NlpBatchSolution
Source§fn clone(&self) -> NlpBatchSolution
fn clone(&self) -> NlpBatchSolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NlpBatchSolution
impl Debug for NlpBatchSolution
Source§impl From<&NlpBatchSolution> for NlpWarmStart
impl From<&NlpBatchSolution> for NlpWarmStart
Source§fn from(sol: &NlpBatchSolution) -> Self
fn from(sol: &NlpBatchSolution) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NlpBatchSolution
impl RefUnwindSafe for NlpBatchSolution
impl Send for NlpBatchSolution
impl Sync for NlpBatchSolution
impl Unpin for NlpBatchSolution
impl UnsafeUnpin for NlpBatchSolution
impl UnwindSafe for NlpBatchSolution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more