Skip to main content

GetPounceLinearSolverStats

Function GetPounceLinearSolverStats 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn GetPounceLinearSolverStats( ipopt_problem: IpoptProblem, stats: *mut PounceLinearSolverStats, ) -> Bool
Expand description

Post-mortem of the KKT linear solver for the most recent solve.

Reports what pounce already collects — factorization counts, pattern reuse, fill, pivot range, final inertia. Timings are not among them: pounce does not instrument the analyse / factor / solve phases separately, so there is nothing honest to report and the struct omits them rather than inventing zeros.

§Safety

ipopt_problem must be a valid IpoptProblem or NULL. stats, when non-NULL, must point at a writable PounceLinearSolverStats.