Examples

The package ships runnable example scripts in examples/ and generated visual outputs in test_output/ as SVG files.

This page is an overview. Detailed inputs, outputs, and figures are split by example family in the pages linked below.

Run examples from the package root:

python examples/example_imsl_uvmif.py
python examples/example_imsl_uminf.py
python examples/example_imsl_uming.py
python examples/example_imsl_unlsf.py
python examples/example_imsl_bconf.py
python examples/example_imsl_qprog.py
python examples/example_imsl_dense_lp.py
python examples/example_imsl_nnlpf.py
python examples/example_imsl_service.py

Regenerate the documentation figures by rerunning the relevant examples from the package root. Each script updates one or more SVG files in test_output/.

Example Script Map

Script

Primary topic

Generated SVG outputs

example_imsl_uvmif.py

Univariate minimization (UVMIF)

demo_imsl_uvmif.svg

example_imsl_uminf.py

Unconstrained BFGS/FD (UMINF)

demo_imsl_uminf.svg

example_imsl_uming.py

Unconstrained BFGS analytic gradient (UMING)

demo_imsl_uming.svg

example_imsl_unlsf.py

Nonlinear least squares FD (UNLSF)

demo_imsl_unlsf.svg

example_imsl_bconf.py

Bounded minimization BFGS/FD (BCONF)

demo_imsl_bconf.svg

example_imsl_qprog.py

Quadratic programming (QPROG)

demo_imsl_qprog.svg

example_imsl_dense_lp.py

Linear programming (DENSE_LP)

demo_imsl_dense_lp.svg

example_imsl_nnlpf.py

Nonlinearly constrained (NNLPF)

demo_imsl_nnlpf.svg

example_imsl_service.py

Service routines (CDGRD/FDGRD/CHGRD etc.)

demo_imsl_service.svg

Detailed pages by family: