.. _allmodels: ***************************************************************** List of Example Models ***************************************************************** The project ships two parallel sets of example models. Raw API examples ================== Package: `org.maxicp.cp.examples.raw `__ These examples use MaxiCP's **raw implementation objects** directly, giving full control over the CP solver internals. They are the closest to what you write when implementing custom constraints or search heuristics. .. list-table:: :widths: 30 70 :header-rows: 1 * - Example - Description * - `CVRPTW `__ - Capacitated Vehicle Routing with Time Windows. * - `DARP `__ - Dial-A-Ride Problem with ride-time constraints. * - `InventoryScheduling `__ - Inventory Scheduling. * - `JobShop `__ - Job-Shop scheduling with ``noOverlap`` and ``Rank`` search. * - `MagicSerie `__ - Magic Series. * - `MagicSquare `__ - Magic Square. * - `MaxIndependentSet `__ - Maximum Independent Set. * - `NQueens `__ - N-Queens with first-fail binary search. * - `NurseScheduling `__ - Nurse Scheduling. * - `PerfectSquare `__ - Perfect Square. * - `ProducerConsumer `__ - Producer-consumer scheduling with ``alwaysIn``. * - `QAP `__ - Quadratic Assignment Problem with LNS. * - `RCPSP `__ - Resource-Constrained Project Scheduling with cumulative functions and FDS. * - `SMIC `__ - SMIC. * - `SMoney `__ - Send More Money. * - `ShipLoading `__ - Ship Loading. * - `SportScheduling `__ - Sport Scheduling. * - `TSP `__ - Traveling Salesman Problem. * - `TSPTW `__ - Traveling Salesman with Time Windows using a sequence variable. Modeling API examples ====================== Package: `org.maxicp.cp.examples.modeling `__ These examples use the **high-level symbolic modeling API**, which is then instantiated into raw CP objects. They are more concise and give access to the full range of MaxiCP features including embarrassingly parallel search. .. list-table:: :widths: 30 70 :header-rows: 1 * - Example - Description * - `CuSP `__ - CuSP. * - `CVRPTW `__ - CVRPTW using the modeling API with insertion-based LNS. * - `DARPSeqVar `__ - Dial-A-Ride Problem. * - `Eternity `__ - Eternity II Puzzle. * - `FlexibleJobShop `__ - Flexible Job-Shop. * - `JobShop `__ - Job-Shop with the modeling API. * - `MagicSquare `__ - Magic Square. * - `NQueens `__ - N-Queens using the ``ModelDispatcher`` with parallel EPS variant. * - `PDPSeqVar `__ - Pickup and Delivery Problem. * - `PerfectSquare `__ - Perfect Square. * - `ProducerConsumer `__ - Producer-Consumer. * - `QAP `__ - Quadratic Assignment Problem. * - `RCPSP `__ - RCPSP with the modeling API and FDS. * - `SMIC `__ - SMIC. * - `ShipLoading `__ - Ship Loading. * - `SportScheduling `__ - Sport Scheduling. * - `StableMarriage `__ - Stable Marriage. * - `Steel `__ - Steel Mill Slab. * - `TSP `__ - Traveling Salesman Problem. * - `TSPTW `__ - Traveling Salesman with Time Windows. We recommend using the **modeling API** for most use cases: it is more user-friendly, supports model transformations, and enables parallelization out of the box.