DragonBreath An Optimization Engine based on Constraint Programming and Local Search |
[HOMEPAGE] -> [Documentation] -> [Interfaces to the Engine] -> [Java] -> [File Handling]
Problem descriptions can be saved and loaded by the GlobalSearchControl object's following member functions:
void saveSCP(String filename); void loadSCP(String filename);
ATTENTION: Loading/Saving currently works only for constraints with simple extension graphs of one node, i.e., not for the Permutation constraint.
Before loading, it may be useful to delete the complete current problem description. This can be achieved by the following member function of the GlobalSearchControl object:
void clearCSP();
For example, here is a sequence of commands to save and clear the current graph, and to load another:
gsc.saveSCP("newsample.scp");
gsc.clearCSP();
gsc.loadSCP("oldsample.scp");
[HOMEPAGE] -> [Documentation] -> [Interfaces to the Engine] -> [Java] -> [File Handling]
For questions, comments or suggestions, please visit our feedback forum.
Last update:
September 4, 2002 by Alexander Nareyek