pub struct PerturbationOptions {
pub max_hessian_perturbation: Number,
pub min_hessian_perturbation: Number,
pub perturb_inc_fact_first: Number,
pub perturb_inc_fact: Number,
pub perturb_dec_fact: Number,
pub first_hessian_perturbation: Number,
pub jacobian_regularization_value: Number,
pub jacobian_regularization_exponent: Number,
pub perturb_always_cd: bool,
}Expand description
Inertia-correction / regularization knobs baked onto the assembled
crate::kkt::perturbation_handler::PdPerturbationHandler. Field
names use the option names; they map to the handler’s delta_xs_* /
delta_cd_* fields. Defaults mirror
IpPDPerturbationHandler.cpp:RegisterOptions. All were registered but
never read (#191).
Fields§
§max_hessian_perturbation: Numbermax_hessian_perturbation → delta_xs_max.
min_hessian_perturbation: Numbermin_hessian_perturbation → delta_xs_min.
perturb_inc_fact_first: Numberperturb_inc_fact_first → delta_xs_first_inc_fact.
perturb_inc_fact: Numberperturb_inc_fact → delta_xs_inc_fact.
perturb_dec_fact: Numberperturb_dec_fact → delta_xs_dec_fact.
first_hessian_perturbation: Numberfirst_hessian_perturbation → delta_xs_init.
jacobian_regularization_value: Numberjacobian_regularization_value → delta_cd_val.
jacobian_regularization_exponent: Numberjacobian_regularization_exponent → delta_cd_exp.
perturb_always_cd: boolperturb_always_cd — always regularize the c/d (Jacobian) block.
Trait Implementations§
Source§impl Clone for PerturbationOptions
impl Clone for PerturbationOptions
Source§fn clone(&self) -> PerturbationOptions
fn clone(&self) -> PerturbationOptions
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 PerturbationOptions
impl Debug for PerturbationOptions
Auto Trait Implementations§
impl Freeze for PerturbationOptions
impl RefUnwindSafe for PerturbationOptions
impl Send for PerturbationOptions
impl Sync for PerturbationOptions
impl Unpin for PerturbationOptions
impl UnsafeUnpin for PerturbationOptions
impl UnwindSafe for PerturbationOptions
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
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