Skip to main content

Module perturbation_handler

Module perturbation_handler 

Source
Expand description

Primal-dual perturbation handler — the shared implementation now lives in pounce_common::pd_perturbation.

It moved there so the active-set QP (pounce-qp) can use the same tested state machine. The dependency runs pounce-algorithm -> pounce-qp, so a shared lower crate was the only way to reach it without duplicating 674 lines of IPOPT-ported logic. This module keeps the names other pounce-algorithm code imports, and supplies the PerturbationSink implementation over IpoptDataHandle.

Structs§

Deltas
Snapshot of the four perturbations after a state-machine call.
IpoptDataSink
Adapts IpoptDataHandle to the sink the shared handler writes through.
PdPerturbationHandler
State + algorithmic parameters. Defaults mirror IpPDPerturbationHandler.cpp::RegisterOptions.

Enums§

DegenType
Degeneracy state — port of DegenType.
TrialStatus
Trial state — port of upstream TrialStatus enum.

Traits§

PerturbationSink
Sink for the two diagnostic writes the handler performs.