Notebooks +++++++++ The notebooks are Colab examples grouped by topic. Each entry links to the related documentation page. Getting Started =============== * `01 Optimization Model `_: build an ``optModel`` from a GurobiPy / COPT / Pyomo / OR-Tools / MPAX backend. Pairs with :doc:`getting_started/model`. * `02 Optimization Dataset `_: generate synthetic data and wrap it in ``optDataset``. Pairs with :doc:`getting_started/data`. * `03 Training and Testing `_: train method families on a shortest-path dataset. Pairs with :doc:`getting_started/function` and :doc:`getting_started/evaluation`. Method Deep Dives ================= * `04 CaVE for Binary Linear Programs `_: train with the cone-aligned CaVE loss on TSP. Pairs with the *Cone-Aligned Estimation* section of :doc:`getting_started/function`. * `08 kNN Robust Losses `_: train with the kNN robust loss via ``optDatasetKNN``. Pairs with the *optDatasetKNN* section of :doc:`getting_started/data`. GPU Acceleration ================ * `09 Solving on MPAX with PDHG `_: batch-solve LPs on GPU via MPAX, end-to-end without CPU round-trips. See the MPAX backend (``optMpaxModel``) in the *Solver Backend Subclass* section of :doc:`getting_started/model`. * `10 JAX Frontend `_: train PyEPO losses in JAX/Flax with ``jax.grad``. MPAX is GPU-native and jittable; non-JAX backends run through ``jax.pure_callback``. Pairs with :doc:`frontends/jax`. Applied Examples ================ * `05 2D Knapsack Solution Visualization `_: visualize selected items for a 2D knapsack instance to inspect what the trained predictor is doing. * `06 Warcraft Shortest Path `_: train an image-based shortest-path predictor on the Warcraft terrain dataset, using a CNN encoder feeding into PyEPO. * `07 Real-World Energy Scheduling `_: apply PyEPO to an energy scheduling dataset with measured demand data.