Class KSDdoMain
java.lang.Object
org.ddolib.examples.nolayer.knapsack.KSDdoMain
Knapsack Problem (KS) with DDO, using the no-layer modeling API.
This class demonstrates how to solve an instance of the Knapsack Problem using the Decision
Diagram Optimization (DDO) algorithm, configuring its own relaxation, state ranking, width
heuristic, dominance checker, and cluster reduction strategies on top of KSModel.
-
Method Summary
-
Method Details
-
main
Entry point of the DDO demonstration for the Knapsack Problem.- Parameters:
args- command-line arguments (optional: instance file path)- Throws:
IOException- if the instance file cannot be read
-