Expand description
PD search-direction calculator — port of
Algorithm/IpPDSearchDirCalc.{hpp,cpp}.
Builds the right-hand side from the current iterate’s KKT
residuals (gradient of Lagrangian, constraint values, relaxed
complementarities), optionally adds a Mehrotra corrector, then
calls PdFullSpaceSolver::solve to produce the search direction
delta.
Two RHS modes:
- standard: z-blocks are the relaxed complementarities
s_L · z_L − μ, … - Mehrotra: z-blocks include the second-order term
(P_L^T Δx_aff) · Δz_aff_L + (s_L · z_L − μ).