METSlib
0.6
|
This is a library implementing some neighborhood based metaheuristics with or without memory.
The solution instance must implement mets::feasible_solution and the moves must be derived from mets::move classes.
The neighborhood can be specified implementing a mets::move_manager subclass or providing another class with the same concept (using the move_manager can ease things, but you can also provide your own custom neighorhood iterator).
All the mentioned classes must be implemented to model the problem at hand. See as an example the "tutorial" and "qap" programs.
You are also responsible of configuring and running the algorithm of choice.
Once your model is set up you are free of experimenting different metaheuristics without changing it, but simply configuring one algorithm or another.
Each algorithm can be customized implementing your own decorating classes, although a bunch of predefined and commonly used decorators are provided with the library, some problems may need customary tabu lists, termination criterias, aspiration criteria, or cooling schedules.
The framework you must implement your model into is made of:
The toolkit of implemented algorithms is made of:
To use the mets::simple_tabu_list you need to derive your moves from the mets::mana_move base class and implement the pure virtual methods.
Return to METSlib home page