Package org.ddolib.examples.mks
Class MKSDDoMain
java.lang.Object
org.ddolib.examples.mks.MKSDDoMain
Main class to demonstrate the application of Decision Diagram Optimization (DDO)
on a Multi-dimensional Knapsack (MKS) problem instance.
This class:
- Loads an MKS problem from a file.
- Defines a
DdoModelfor solving the problem using a relaxed decision diagram. - Specifies state ranking, relaxation, width heuristic, and reduction strategies.
The example shows how to combine different reduction strategies (e.g., GHP, CostBased, Hybrid)
and how to customize the width of the decision diagram.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MKSDDoMain
public MKSDDoMain()
-
-
Method Details
-
main
Entry point for the DDO demonstration.- Parameters:
args- command-line arguments (not used)- Throws:
IOException- if the problem file cannot be read
-