Class TSPDdoMain

java.lang.Object
org.ddolib.examples.tsp.TSPDdoMain

public class TSPDdoMain extends Object
Main class to solve a Traveling Salesman Problem (TSP) instance using the Decision Diagram Optimization (DDO) method.

This class reads a TSP instance from an XML file, initializes a TSPProblem and a DdoModel with:

The DDO solver is then used to minimize the TSP objective, printing the best solution and search statistics.

Usage:

 java TSPDdoMain [instanceFile]
 
If no instanceFile argument is provided, the default instance ("data/TSP/instance_18_0.xml") is used. The width of the decision diagram is fixed at 500.
  • Constructor Details

    • TSPDdoMain

      public TSPDdoMain()
  • Method Details