Class SMICDdoMain

java.lang.Object
org.ddolib.examples.smic.SMICDdoMain

public class SMICDdoMain extends Object
The Single Machine with Inventory Constraint (SMIC) with Ddo. The SMICDdoMain class provides the entry point for solving instances of the Single Machine with Inventory Constraint (SMIC) problem using the Decision Diagram Optimization (DDO) approach.

This main program performs the following steps:

Usage:

   java SMICDdoMain [instanceFile]
 
If no file is provided as an argument, the program defaults to data/SMIC/data10_2.txt.

Example:

   java SMICDdoMain data/SMIC/data20_3.txt
 
See Also:
  • Constructor Details

    • SMICDdoMain

      public SMICDdoMain()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point of the SMIC solver using the Dynamic Decision Diagram Optimization (DDO) algorithm. Initializes the problem instance, builds the DDO model, and executes the optimization.
      Parameters:
      args - command-line arguments; the first argument may specify the path to the SMIC instance file. If omitted, the default instance data/SMIC/data10_2.txt is used.
      Throws:
      IOException - if an error occurs while reading the instance file.