Class PSAcsMain

java.lang.Object
org.ddolib.examples.pigmentscheduling.PSAcsMain

public class PSAcsMain extends Object
The Pigment Sequencing Problem (PSP) with Acs. Main class for solving a Pigment Sequencing Problem (PSP) using the Anytime Column Search (ACS) algorithm.

This class reads a problem instance from a file (or uses a default instance if none is provided), builds an ACS model, and runs the solver to minimize the schedule cost.

The solution and search statistics are printed to the console.

Usage:

 java PSAcsMain [instanceFile]
 
If no instanceFile is provided, a default instance located at data/PSP/instancesWith2items/10 is used.
  • Constructor Details

    • PSAcsMain

      public PSAcsMain()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point of the program.
      Parameters:
      args - optional command-line argument specifying the path to a PSP instance file
      Throws:
      IOException - if there is an error reading the problem instance file