Class TSPTWAcsMain

java.lang.Object
org.ddolib.examples.nolayer.tsptw.TSPTWAcsMain

public final class TSPTWAcsMain extends Object
Main class to solve a Traveling Salesman Problem with Time Windows (TSPTW) instance using the no-layer ACS (Anytime Column Search) algorithm.
  • Method Details

    • main

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