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

public class TSDdoMain extends Object
The talent scheduling problem (tsp) with Ddo. Entry point for solving instances of the Talent Scheduling Problem (TSP) using a Decision Diagram Optimization (Ddo) approach.

This class reads a TSP instance from a file, initializes the corresponding TSProblem, and creates a DdoModel for TSState. The model uses a TSRelax relaxation, a TSRanking state ranking, and TSFastLowerBound for efficient lower-bound computations. The solver then minimizes the objective function using the Ddo algorithm, printing both the solution and search statistics.

Usage:

 java TSDdoMain [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 DDO 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