Class GRDdoMain
java.lang.Object
org.ddolib.examples.layered.gruler.GRDdoMain
Golomb Rule Problem (GRP) with Ddo. Main class for solving the Golomb Ruler Problem (GRP) using a
Dynamic Discrete Optimization (DDO) approach.
This class demonstrates how to create a Golomb Ruler problem instance, define a DDO model with
relaxation and state ranking, and solve the problem using Solvers.minimizeDdo(DdoModel, java.util.function.BiConsumer). The solution and search statistics are printed to the console.
-
Method Summary
-
Method Details
-
main
Entry point of the application.The method performs the following steps:
- Parameters:
args- command-line arguments (not used)- Throws:
IOException- if an I/O error occurs while printing the solution
-