Skip to main content

collect_stats

Function collect_stats 

Source
pub fn collect_stats(tnlp: &Rc<RefCell<dyn TNLP>>) -> Option<ProblemStats>
Expand description

Walk the TNLP once to gather everything the banner block needs: NlpInfo, the four bound vectors, and the Jacobian row indices. Returns None if any of the required TNLP calls fails.