pub struct CheckX0Args {
pub nl: Option<PathBuf>,
pub builtin: Option<String>,
pub x0_file: Option<PathBuf>,
pub feas_tol: Number,
pub bound_push: Number,
pub bound_frac: Number,
pub max_list: usize,
pub json: bool,
pub json_output: Option<PathBuf>,
}Expand description
Parsed check-x0 subcommand arguments.
Fields§
§nl: Option<PathBuf>.nl path, or None when --builtin is used.
builtin: Option<String>Built-in problem name (--builtin rosenbrock).
x0_file: Option<PathBuf>Optional whitespace-separated file of n values overriding the
model’s starting point (--x0-file).
feas_tol: NumberViolations above this are counted in n_violated (default 1e-6).
bound_push: Numberbound_push used for the clamp preview (default 1e-2).
bound_frac: Numberbound_frac used for the clamp preview (default 1e-2).
max_list: usizeMax offenders listed per category (default 5).
json: boolPrint the JSON report to stdout instead of the text report.
json_output: Option<PathBuf>Also write the JSON report to this path.
Trait Implementations§
Source§impl Clone for CheckX0Args
impl Clone for CheckX0Args
Source§fn clone(&self) -> CheckX0Args
fn clone(&self) -> CheckX0Args
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 CheckX0Args
impl Debug for CheckX0Args
Auto Trait Implementations§
impl Freeze for CheckX0Args
impl RefUnwindSafe for CheckX0Args
impl Send for CheckX0Args
impl Sync for CheckX0Args
impl Unpin for CheckX0Args
impl UnsafeUnpin for CheckX0Args
impl UnwindSafe for CheckX0Args
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