Class TSPTWModel

java.lang.Object
org.ddolib.examples.nolayer.tsptw.TSPTWModel
All Implemented Interfaces:
Model<TSPTWState>

public class TSPTWModel extends Object implements Model<TSPTWState>
Base model for the Traveling Salesman Problem with Time Windows (TSPTW), using the no-layer modeling API.

Bundles a TSPTWProblem instance together with a fast lower bound (summing, for each city still to visit, its least-cost incident edge) used to guide and prune the search.

  • Constructor Details

    • TSPTWModel

      public TSPTWModel(TSPTWProblem problem)
      Creates a new model for the given TSPTW instance.
      Parameters:
      problem - the TSPTW instance to solve
  • Method Details