pub struct ConvCheckOptions {Show 20 fields
pub tol: Number,
pub dual_inf_tol: Number,
pub constr_viol_tol: Number,
pub compl_inf_tol: Number,
pub acceptable_tol: Number,
pub acceptable_dual_inf_tol: Number,
pub acceptable_constr_viol_tol: Number,
pub acceptable_compl_inf_tol: Number,
pub acceptable_obj_change_tol: Number,
pub acceptable_iter: Index,
pub max_iter: Index,
pub max_cpu_time: Number,
pub max_wall_time: Number,
pub infeas_stationarity_tol: Number,
pub infeas_viol_kappa: Number,
pub infeas_max_streak: Index,
pub obj_scale_certificate_threshold: Number,
pub primal_noise_floor_kappa: Number,
pub acceptable_progress_kappa: Number,
pub dual_inf_scale_kappa: Number,
}Expand description
Knobs read off OptionsList and baked into the assembled
OptErrorConvCheck. Defaults mirror
IpOptErrorConvCheck.cpp:RegisterOptions.
Fields§
§tol: Number§dual_inf_tol: Number§constr_viol_tol: Number§compl_inf_tol: Number§acceptable_tol: Number§acceptable_dual_inf_tol: Number§acceptable_constr_viol_tol: Number§acceptable_compl_inf_tol: Number§acceptable_obj_change_tol: Number§acceptable_iter: Index§max_iter: Index§max_cpu_time: Number§max_wall_time: Number§infeas_stationarity_tol: Number§infeas_viol_kappa: Number§infeas_max_streak: Index§obj_scale_certificate_threshold: NumberObjective-scale floor below which a strict termination certificate is
refused while the unscaled KKT error is still above acceptable_tol
(gh #200). 0 disables the mechanism.
primal_noise_floor_kappa: NumberSafety factor on the per-row floor the strict gate uses to decide
when a constraint residual is finer than the row can represent
(gh #528). 0 disables the floor, restoring upstream Ipopt’s
bare-absolute primal term.
acceptable_progress_kappa: NumberFraction of acceptable_tol the KKT error and the objective may drift
across the acceptable-level streak’s window while the streak still
counts as settled (gh #533). 0 disables the progress test, leaving
acceptable-level termination the bare consecutive-count criterion.
dual_inf_scale_kappa: NumberSafety factor on the scale-relative floor under dual_inf_tol the
strict gate judges the dual infeasibility against (gh #532). 0
disables the floor, restoring upstream Ipopt’s bare-absolute bound.
Trait Implementations§
Source§impl Clone for ConvCheckOptions
impl Clone for ConvCheckOptions
Source§fn clone(&self) -> ConvCheckOptions
fn clone(&self) -> ConvCheckOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConvCheckOptions
impl Debug for ConvCheckOptions
Auto Trait Implementations§
impl Freeze for ConvCheckOptions
impl RefUnwindSafe for ConvCheckOptions
impl Send for ConvCheckOptions
impl Sync for ConvCheckOptions
impl Unpin for ConvCheckOptions
impl UnsafeUnpin for ConvCheckOptions
impl UnwindSafe for ConvCheckOptions
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
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