Examples¶
Examples live in src/pydgens/examples/. These scripts are useful both as smoke tests and as starting points for new game formulations.
Tug-of-War¶
Compute a feedback Nash equilibrium for a simple linear-quadratic game with the LQ solver:
Two-Player Unicycle¶
Run the iterative linear-quadratic solver (iLQ) on a nonlinear game where two players control a shared unicycle system:
Constrained Integrators¶
Run the augmented-Lagrangian (AL) solver on a constrained nonlinear game with bounded controls: