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.
citations
Citation lister for pounce --cite (pounce#…): tells a user which papers / software to cite when they publish results obtained with pounce.
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.
debug_repl
Interactive solver debugger front end — “pdb for the IPM”.
minima
Multistart / find-minima driver for the pounce CLI (--minima).
nl_external
AMPL imported (external) function support via the funcadd_ASL ABI.
nl_fbbt_translate
Translate parsed .nl constraint expressions into an FbbtTape for the presolve FBBT pass (issue #62).
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.
seeded_tnlp
TNLP wrapper that overrides the starting point with a seed captured by the interactive debugger, so resolve can re-run the solve from the current iterate with new options (a primal warm start).
sens
Parametric-sensitivity and reduced-Hessian post-processing for the pounce driver.
solve_report
Compatibility shim — the report writer now lives in pounce-solve-report so the GAMS solver link (via pounce-cinterface) can emit reports too. This re-export preserves all pounce_cli::solve_report::* call sites.
verify
pounce verify <problem.nl> <claim.sol> — independent solution checker.