Skip to main content

Module opt_error

Module opt_error 

Source
Expand description

Optimal-error convergence check โ€” port of Algorithm/IpOptErrorConvCheck.{hpp,cpp}.

Tolerance state machine over (nlp_err, iter_count) plus per-component infeasibilities pulled directly from [IpoptCalculatedQuantities]. The scalar [Self::check_convergence] entry point only gates on nlp_err <= tol (matching upstream when the per-component tolerances are at their +โˆž sentinels); the state-aware [Self::check_convergence_with_state] adds the dual_inf_tol / constr_viol_tol / compl_inf_tol gates that mirror upstream OptimalityErrorConvergenceCheck::CheckConvergence.

Structsยง

OptErrorConvCheck