Package com.opttek.optquest
Interface IOptQuestMonitor
public interface IOptQuestMonitor
Defines a callback function is called when a solution or replication solution
has completed evaluation. THe callback can be used to update a user interface
or to handle early stopping conditions.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Monitor
(OptQuestSolution sol) When Monitor() is called, all string objectives and string constraints have been evaluated.
-
Method Details
-
Monitor
When Monitor() is called, all string objectives and string constraints have been evaluated. For single objective models, OptQuest has determined if the solution is a best solution. For multi objective models, OptQuest has determined if the solution is on the frontier.- Parameters:
sol
- - A solution that has completed evaluation.- Returns:
- Returns true to continue optimization, false to stop generating new solutions which will stop the optimization when all solutions that are out for evaluation have been returned. If you are running with replications, the optimization will stop when all replications have been evaluated.
-