Package org.ddolib.examples.gruler
Class GRAcsMain
java.lang.Object
org.ddolib.examples.gruler.GRAcsMain
Golomb Rule Problem (GRP) with Acs.
This program demonstrates how to:
- Build a specific instance of the
GRProblem(Golomb Ruler problem); - Wrap it into an
AcsModelto define the optimization model used by the ACS algorithm; - Invoke the
Solversto perform the search via theminimizeAcs()method; - Monitor the search progress by printing incumbent (best found) solutions;
- Display final search statistics at the end of execution.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GRAcsMain
public GRAcsMain()
-
-
Method Details
-
main
Main entry point of the program.Creates and solves a
GRProbleminstance using the ACS algorithm implemented by theSolversclass.- Parameters:
args- command-line arguments (not used)- Throws:
IOException- if any I/O error occurs during problem initialization or result export
-