Class TSPDdoMain

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

public class TSPDdoMain extends Object
Main class to solve a Traveling Salesman Problem (TSP) instance using the no-layer DDO (Decision Diagram Optimization) algorithm.
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point of the program. Builds a TSP instance and solves it using the DDO algorithm.
      Parameters:
      args - optional command-line argument: path to the TSP instance file (default: data/TSP/instance_18_0.xml)
      Throws:
      IOException - if there is an error reading the instance file