pub struct VerifyArgs {
pub nl: PathBuf,
pub sol: PathBuf,
pub feas_tol: Number,
pub abs_feas_tol: Option<Number>,
pub opt_tol: Number,
pub json_output: Option<PathBuf>,
pub require_optimal: bool,
}Expand description
Parsed verify subcommand arguments.
Fields§
§nl: PathBuf§sol: PathBuf§feas_tol: NumberMax |violation| of any constraint or bound still called feasible.
Applied per row, relative to the row’s magnitude — the accepting
test is |viol| <= feas_tol * max(1, |row|) (see [row_is_violated]),
so on a row of size 2e6 a violation of 1.0 passes at 1e-6. Use
abs_feas_tol for a plain absolute test.
abs_feas_tol: Option<Number>--abs-feas-tol T — judge every row by the plain absolute test
|viol| <= T, replacing the relative test above (gh#987).
opt_tol: NumberMax stationarity residual still called first-order optimal.
json_output: Option<PathBuf>--json-output PATH — write the machine-readable receipt to PATH.
require_optimal: bool--require-optimal — also gate the exit code on the stationarity
residual (needs duals in the .sol).
Trait Implementations§
Source§impl Clone for VerifyArgs
impl Clone for VerifyArgs
Source§impl Debug for VerifyArgs
impl Debug for VerifyArgs
Auto Trait Implementations§
impl Freeze for VerifyArgs
impl RefUnwindSafe for VerifyArgs
impl Send for VerifyArgs
impl Sync for VerifyArgs
impl Unpin for VerifyArgs
impl UnsafeUnpin for VerifyArgs
impl UnwindSafe for VerifyArgs
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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