pub struct RestoOptions {
pub bound_mult_reset_threshold: Number,
pub constr_mult_reset_threshold: Number,
pub resto_penalty_parameter: Number,
pub resto_proximity_weight: Number,
pub required_infeasibility_reduction: Number,
pub evaluate_orig_obj_at_resto_trial: bool,
pub expect_infeasible_problem: bool,
pub start_with_resto: bool,
}Expand description
Restoration-phase knobs carried on the outer builder and copied into
the RestoAlgorithmBuilder when the restoration factory is minted
(pounce-restoration). The restoration builder is constructed with
defaults by each frontend and never options-configured, so these were
registered but never read (#191). Defaults mirror upstream’s
restoration RegisterOptions.
Fields§
§bound_mult_reset_threshold: Numberbound_mult_reset_threshold — reset bound multipliers to 1 after
restoration if the largest exceeds this.
constr_mult_reset_threshold: Numberconstr_mult_reset_threshold — ignore the least-square constraint
multiplier estimate after restoration if its norm exceeds this
(0 keeps the estimate).
resto_penalty_parameter: Numberresto_penalty_parameter — penalty on the slack 1-norm in the
restoration objective (rho).
resto_proximity_weight: Numberresto_proximity_weight — proximity-term weight (eta_factor;
η = eta_factor · sqrt(μ)).
required_infeasibility_reduction: Numberrequired_infeasibility_reduction — the restoration sub-solve
keeps iterating until the original NLP’s infeasibility has been
reduced to at most this fraction of its value at restoration entry
(κ_resto in IpRestoConvCheck.cpp:58). 0 disables the guard,
i.e. restoration runs until the sub-NLP itself converges.
evaluate_orig_obj_at_resto_trial: boolevaluate_orig_obj_at_resto_trial — evaluate the original
objective at every restoration trial point, so an iterate the
restoration problem likes but the original cannot evaluate is
rejected there rather than after the phase exits. Upstream default
yes. RestoAlgorithmBuilder has consumed this since it landed;
only the read site was missing (gh#483, #191 round 2).
expect_infeasible_problem: boolexpect_infeasible_problem — enter restoration sooner and demand
more infeasibility reduction before leaving it. Upstream default
no. Same story: consumed, never read.
start_with_resto: boolstart_with_resto — switch to restoration in the first iteration.
Upstream default no. Same story.
Trait Implementations§
Source§impl Clone for RestoOptions
impl Clone for RestoOptions
Source§fn clone(&self) -> RestoOptions
fn clone(&self) -> RestoOptions
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 RestoOptions
impl Debug for RestoOptions
Auto Trait Implementations§
impl Freeze for RestoOptions
impl RefUnwindSafe for RestoOptions
impl Send for RestoOptions
impl Sync for RestoOptions
impl Unpin for RestoOptions
impl UnsafeUnpin for RestoOptions
impl UnwindSafe for RestoOptions
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