Skip to main content

GetPounceRestorationStats

Function GetPounceRestorationStats 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn GetPounceRestorationStats( ipopt_problem: IpoptProblem, calls: *mut Index, inner_iters: *mut Index, outer_iters: *mut Index, wall_secs: *mut Number, )
Expand description

Restoration-phase activity in the most recent solve. Each output may be NULL to skip it; all yield zero before the first solve.

Solve-level, and still worth having now that the intermediate callback also fires from restoration with alg_mod = 1 (gh#645): these counters answer “how much restoration did this solve do?” without the caller having to install a callback and tally fires, and they are the only source for the inner iteration count and wall time.

§Safety

ipopt_problem must be a valid IpoptProblem or NULL. Each non-NULL output pointer must be writable.