Expand description
RestorationPhase trait — port of IpRestoPhase.hpp.
Defined here in pounce-algorithm (rather than pounce-restoration)
so that crate::ipopt_alg::IpoptAlgorithm can call into it without
creating a circular crate dependency. Concrete impls (the default
MinC1NormRestoration, the rare RestoRestorationPhase) live in
pounce-restoration and impl RestorationPhase for ....
Called by the main loop when the line search exhausts its alpha
reductions without acceptance (or by the iterate initializer when
start_with_resto = true). On success the impl writes a recovered
iterate to data.trial and the main loop accepts it; on failure the
main loop surfaces SolverReturn::RestorationFailure.
Enums§
- Restoration
Outcome - Outcome of a restoration attempt. Mirrors upstream’s
boolreturn fromRestorationPhase::PerformRestorationplus the in-bandinfo_skip_output/iter_countside-effects that the impl writes todatadirectly.
Traits§
Type Aliases§
- Orig
Progress Callback - Callback that the inner restoration IPM consults at every iteration
to decide whether the recovered iterate is acceptable to the outer
algorithm’s filter and reference iterate. Mirrors upstream
IpRestoFilterConvCheck::TestOrigProgress(IpRestoFilterConvCheck.cpp:53-80): given(orig_trial_barr, orig_trial_theta)evaluated at the inner iterate’s(x_orig, s)slice, returnstrueiff