Package com.opttek.optquest
Class OptQuestModel.TerminationReason
java.lang.Object
com.opttek.optquest.OptQuestModel.TerminationReason
- Enclosing class:
OptQuestModel
Possible reasons why an optimization terminated. Returned by
OptQuestModel.GetTerminationReason().-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe engine stopped the run because of a stop rule set withOptQuestModel.SetStopCycles(int)orOptQuestModel.SetStopImprovement(double, int).static final intNot used.static final intThe engine cannot generate a solution that is different from the solutions it already has.static final intThe run stopped because of an error.static final intThe engine has no more solutions to generate.static final intNo input values satisfy the constraints.static final intThe objective and every constraint are linear, and the engine solved the problem exactly.static final intNo license is set, and the run stopped at 50 iterations.static final intThe run completed the number of iterations that you asked for.static final intThe engine stopped the run because it reached the time set withOptQuestModel.SetStopTime(int).static final intNo run has started.static final intThe engine has no other candidate to try, for example because it evaluated every combination of values or because the constraints fix the values.static final intA run is in progress, orOptQuestModel.Continue()cleared an interrupt.static final intThe run was stopped, for example byOptQuestModel.Interrupt()or by a monitor that returned false. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NotStarted
public static final int NotStartedNo run has started.- See Also:
-
Running
public static final int RunningA run is in progress, orOptQuestModel.Continue()cleared an interrupt.- See Also:
-
LP
public static final int LPThe objective and every constraint are linear, and the engine solved the problem exactly.- See Also:
-
AutoStop
public static final int AutoStopThe engine stopped the run because of a stop rule set withOptQuestModel.SetStopCycles(int)orOptQuestModel.SetStopImprovement(double, int).- See Also:
-
OptimalFound
public static final int OptimalFoundThe engine has no other candidate to try, for example because it evaluated every combination of values or because the constraints fix the values.- See Also:
-
MaxIterations
public static final int MaxIterationsThe run completed the number of iterations that you asked for.- See Also:
-
MaxTime
public static final int MaxTimeThe engine stopped the run because it reached the time set withOptQuestModel.SetStopTime(int).- See Also:
-
UserStopped
public static final int UserStoppedThe run was stopped, for example byOptQuestModel.Interrupt()or by a monitor that returned false.- See Also:
-
BestFound
public static final int BestFoundNot used. The engine does not set this reason.- See Also:
-
Exception
public static final int ExceptionThe run stopped because of an error.- See Also:
-
FactoriesDone
public static final int FactoriesDoneThe engine has no more solutions to generate. WithOptQuestModel.SuggestedSolutionsOnly(), the supplied solutions are used up.- See Also:
-
Infeasible
public static final int InfeasibleNo input values satisfy the constraints.- See Also:
-
CannotGenerate
public static final int CannotGenerateThe engine cannot generate a solution that is different from the solutions it already has.- See Also:
-
MaxDemoIterations
public static final int MaxDemoIterationsNo license is set, and the run stopped at 50 iterations. CallOptQuestModel.SetLicense(String).- See Also:
-
-
Constructor Details
-
TerminationReason
public TerminationReason()
-