Skip to main content

Module ipopt_data

Module ipopt_data 

Source
Expand description

Mutable algorithm state — port of Algorithm/IpIpoptData.{hpp,cpp}.

Holds the iterate trio (curr / trial / delta), the affine step delta_aff, current barrier parameter mu, fraction-to-the- boundary tau, iteration count, tolerances, and the four PD perturbations. No additional-data plug in v1.0 (CG penalty is deferred to Phase 10).

Phase 5 ships the full state holder; concrete strategies (line search, mu update, etc.) read/write fields here as their inputs and outputs.

Structs§

IpoptData
Mutable state passed down through the algorithm. Owned by IpoptAlgorithm; strategies access via Rc<RefCell<IpoptData>>.
PdPerturbations
Primal-dual perturbation triple (delta_x, delta_s, delta_c, delta_d) — port of the four current_perturbation fields in IpIpoptData.hpp.

Type Aliases§

IpoptDataHandle
Convenience handle. Mirrors how upstream passes the data object around as SmartPtr<IpoptData>.