pub struct CheckX0Args {
pub nl: Option<PathBuf>,
pub builtin: Option<String>,
pub x0_file: Option<PathBuf>,
pub x0_values: Option<(String, Vec<Number>)>,
pub feas_tol: Number,
pub bound_push: Number,
pub bound_frac: Number,
pub max_list: usize,
pub scaling_max_gradient: Number,
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).
x0_values: Option<(String, Vec<Number>)>A starting point supplied in memory, with a label for the report
(pounce diagnose --sol reads one from a .sol file). Takes
precedence over x0_file and the model’s own start.
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).
scaling_max_gradient: Numbernlp_scaling_max_gradient for the scaling preview (default 100).
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§impl Debug for CheckX0Args
impl Debug for CheckX0Args
Auto Trait Implementations§
impl Forget for CheckX0Args
impl Freeze for CheckX0Args
impl Move 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
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> ⓘ
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> ⓘ
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