Expand description
Ipopt-style banner / problem-stats / final-summary printing for
the pounce CLI. Output is structured to match upstream Ipopt’s
console layout closely enough that anyone familiar with ipopt
can spot at a glance whether POUNCE is converging similarly.
Structs§
Functions§
- collect_
stats - Walk the TNLP once to gather everything the banner block needs:
NlpInfo, the four bound vectors, and the Jacobian row indices. ReturnsNoneif any of the required TNLP calls fails. - fmt_
ipopt - Format a number in Ipopt’s scientific notation: 16-digit mantissa,
signed 2-digit exponent (e.g.
3.7952009505566139e+03). Rust’s{:.16e}is close but emits a 1-digit exponent without leading sign, which makes side-by-side diffs againstipoptoutput messy. - print_
banner - print_
logo - Print the branded POUNCE ASCII wordmark, mimicking the project logo.
- print_
problem_ stats - print_
summary - status_
message