Skip to main content

with_current_user_iterate

Function with_current_user_iterate 

Source
pub fn with_current_user_iterate<F, R>(f: F) -> Option<R>
where F: FnOnce(&UserIterate) -> R,
Expand description

The materialised iterate of the user’s problem (full n, full m, original g order), and its window. Defined in pounce_nlp::live_iterate so the decorators that lift it one layer per intermediate_callback forward — presolve’s above all — can reach it; re-exported here, where callers have always found it.

The active-set SQP arm installs one at every fire. The interior-point arm installs one when the TNLP asks for it (pounce_nlp::tnlp::TNLP::wants_current_iterate), built by ipm_user_iterate. Read access to the installed iterate; None outside a callback window.