Examples¶
Each page below is an executable notebook — built and run by Sphinx on every docs build, so the outputs you see are guaranteed to match the current code.
Getting started¶
Notebook |
Demonstrates |
|---|---|
The 15-line quickstart, walked through with full output explained. |
|
Same problem solved by all six canonical reformulations. |
|
|
|
COO sparsity for |
|
S / M / C / W stationarity in one notebook. |
|
Reading and recomputing |
Strategies & solvers¶
Notebook |
Demonstrates |
|---|---|
|
|
The seven smooth-NCP-function reformulations side-by-side. |
|
|
|
|
Diagnostics & certification¶
Notebook |
Demonstrates |
|---|---|
Pinned-variable elimination, FBBT, dead-pair pruning. |
|
CQ, B-stationarity, SOSC, merit cross-check, degeneracy report. |
|
Certified MPCC multipliers via |
Bilevel & differentiable¶
Notebook |
Demonstrates |
|---|---|
|
|
|
|
|