Package org.ddolib.examples.layered.misp
Class MispAwAstarMain
java.lang.Object
org.ddolib.examples.layered.misp.MispAwAstarMain
The Maximum Independent Set Problem (MISP) with Anytime Weighted A* (AWA*). Entry point for
solving the Maximum Independent Set Problem (MISP) using an AWA* solver.
This class demonstrates how to configure and run an AWA* search algorithm for a MISP instance. The model used for the search includes:
- The problem instance
MispProblemread from a file. - A dominance checker
MispDominanceCheckerwithMispDominanceto prune dominated states. - A fast lower bound
MispCliqueCoverLowerBoundto guide the search. - Debug mode enabled through
DebugLevel.ON.
The best solutions and search statistics are printed to the standard output.
-
Method Summary
-
Method Details
-
main
Main method to execute the AWA* solver on a MISP instance.If no command-line argument is provided, the default instance
data/MISP/tadpole_4_2.dotis used.- Parameters:
args- optional command-line arguments; args[0] can specify the path to the MISP instance file- Throws:
IOException- if there is an error reading the problem instance from the file
-