java.lang.Object
org.ddolib.examples.layered.talentscheduling.TSAcsMain

public class TSAcsMain extends Object
The talent scheduling problem (tsp) with Acs. Entry point for solving instances of the Talent Scheduling Problem (TSP) using an Anytime Column Search (Acs) strategy.

This class reads a problem instance from a file, initializes the corresponding TSProblem, and creates an AcsModel for TSState. It then runs the ACS solver to find a (near-)optimal schedule and prints both the solution and search statistics.

Usage:

 java TSAcsMain [instanceFile]
 

If no instanceFile argument is provided, the default instance data/TalentScheduling/film-12 will be used.

  • Method Details

    • main

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