Skip to main content

Crate pounce_cli

Crate pounce_cli 

Source
Expand description

Library face of pounce-cli. Exists so the CLI’s argv parser and built-in problems can be unit-tested without invoking main.

Modules§

builtin
Built-in TNLP test problems for the CLI. Each problem is a self-contained impl TNLP so the CLI can run end-to-end without parsing an .nl file.
cli
Argv parser for the pounce binary. Tiny hand-rolled parser so we avoid pulling in clap (and its 100k LOC dependency tree).
counting_tnlp
TNLP wrapper that counts evaluation calls so the CLI can mirror Ipopt’s end-of-run “Number of … evaluations = N” summary block.
nl_hessian_program
Precompiled symbolic-Hessian program for one Tape.
nl_reader
Minimal AMPL .nl ASCII-format reader.
nl_tape
Flat-tape reverse-mode AD for .nl expression trees.
nl_writer
Minimal AMPL .sol-format writer.
print
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.
sens
Parametric-sensitivity and reduced-Hessian post-processing for the pounce driver.
solve_report
Machine-readable JSON solve report (pounce#8).