pub struct CertificateInput<'a> {
pub x: &'a [Number],
pub grad_f: &'a [Number],
pub g: &'a [Number],
pub jac: &'a [(usize, usize, Number)],
pub x_l: &'a [Number],
pub x_u: &'a [Number],
pub g_l: &'a [Number],
pub g_u: &'a [Number],
pub pairs: &'a [ComplementarityPair],
pub solver_tol: Number,
pub feas_tol: Number,
}Expand description
The point and model data certify reads. All indices 0-based, the
Jacobian as (row, col, value) triplets of the inner model’s rows.
Fields§
§x: &'a [Number]§grad_f: &'a [Number]§g: &'a [Number]§jac: &'a [(usize, usize, Number)]§x_l: &'a [Number]§x_u: &'a [Number]§g_l: &'a [Number]§g_u: &'a [Number]§pairs: &'a [ComplementarityPair]§solver_tol: NumberThe tolerance the answer was solved to (tol).
feas_tol: NumberThe feasibility tolerance (constr_viol_tol): a point violating a
row or bound by more is not certified, stationary or not.
Auto Trait Implementations§
impl<'a> Freeze for CertificateInput<'a>
impl<'a> RefUnwindSafe for CertificateInput<'a>
impl<'a> Send for CertificateInput<'a>
impl<'a> Sync for CertificateInput<'a>
impl<'a> Unpin for CertificateInput<'a>
impl<'a> UnsafeUnpin for CertificateInput<'a>
impl<'a> UnwindSafe for CertificateInput<'a>
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
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