com.opttek.optquest
Class COptQuestTuner

java.lang.Object
  extended by com.opttek.optquest.COptQuestOptimization
      extended by com.opttek.optquest.COptQuestTuner

public class COptQuestTuner
extends COptQuestOptimization

The COptQuestTuner class helps you in determining the optimal settings for search parameters in the COptQuestSearchParameters class for a model.

You will need to inherit this class and run your model in the overridden Evaluate() method. After the model is run you will need to set an objective value for the set of search parameters provided by this class. When the tuner is finished you can print out the search parameters using the Write() method of the COptQuestSearchParameters class.


Field Summary
 
Fields inherited from class com.opttek.optquest.COptQuestOptimization
DEMOLICENSE, OCLP_COEFFOFSEMI1VAR, OCLP_COEFFOFSEMI2VAR, OCLP_COEFFOFVAR, OCLP_IRR, OCLP_MAX, OCLP_MEAN, OCLP_MEDIAN, OCLP_MIN, OCLP_NONE, OCLP_NPV, OCLP_PBP, OCLP_PERCENTILE, OCLP_PROBABILITY, OCLP_SEMI1STDDEV, OCLP_SEMI1VARIANCE, OCLP_SEMI2STDDEV, OCLP_SEMI2VARIANCE, OCLP_STDDEV, OCLP_VARIANCE, REPLTERM_MAXREPLICATIONS, REPLTERM_METCONFIDENCE, REPLTERM_NEEDMORE, REPLTERM_NOTNEARBEST, REPLTERM_REMOVEBYRAS, REPLTERM_STILLINRAS, TERM_AUTOSTOP, TERM_BESTFOUND, TERM_CANNOTGENERATE, TERM_EXCEPTION, TERM_FACTORIESDONE, TERM_INFEASIBLE, TERM_LP, TERM_MAXITERATIONS, TERM_MAXTIME, TERM_NOTSTARTED, TERM_OPTIMALFOUND, TERM_RUNNING, TERM_USERSTOPPED
 
Constructor Summary
COptQuestTuner()
           
 
Method Summary
 COptQuestSearchParameters GetBestSearchParameters()
          Deprecated. Returns the search parameters that produced the best result.
 COptQuestSearchParameters GetCurrentSearchParameters()
          Deprecated. Returns the search parameters for the current iteration of the tuner. This should be passed into the constructor of the COptQuestOptimization object that represents the model during the tuning process
 COptQuestSearchParameters GetSearchParameters(COptQuestSolution solution)
          Returns the search parameters for the input solution.
 void Initialize()
          Sets up the tuner for optimizing search parameters.
 void InitializeGA()
           
 void InitializeStandard()
           
 
Methods inherited from class com.opttek.optquest.COptQuestOptimization
AddAdditionalReplicationsSolution, AddAnalysis, AddConstraint, AddConstraint, AddConstraint, AddDiscountRate, AddEvaluate, AddMetaHeuristic, AddObjective, AddObjectiveFunction, AddPermutationGroup, AddPredictor, AddPredictor, AddRankAndSelectionSolution, AddRequirement, AddRequirement, AddSuggestedSolution, AddSuggestedSolution, AddVariable, ChangeVariableConstraint, CheckOptimization, ClearMetaHeuristic, ConstraintEquation, ConstraintEquation, ContinueOptimize, CreateSolution, CreateSolutionSet, EfficientFrontier, EfficientFrontier, Evaluate, Evaluate, Evaluate, EvaluateBestConstraint, EvaluateComplete, EvaluateComplete, EvaluateCurrentConstraint, EvaluateNthBestConstraint, EvaluateSuggestedConstraint, GetAggressiveSearch, GetAutoStop, GetBestIteration, GetBestObjectiveValue, GetBestReplications, GetBestReplicationStandardDeviation, GetBestReplicationTerminationReason, GetBestReplicationTerminationReasonString, GetBestSolution, GetBestStatistic, GetCheckDup, GetCrossOverSearch, GetCurrentObjectiveValue, GetCurrentObjectiveValue, GetCurrentReplicationStandardDeviation, GetCurrentReplicationTerminationReason, GetCurrentReplicationTerminationReasonString, GetCurrentSolution, GetCurrentSolution, GetCurrentStatistic, GetDataBaseSize, GetElapsedTime, GetEvaluateException, GetGeneratorDescription, GetGradientAnalysis, GetInternalStats, GetIteration, GetIteration, GetIterationSolution, GetLever, GetMappingType, GetMaximumIterations, GetMaximumReplications, GetMaximumTime, GetMetaHeuristicString, GetMinimumReplications, GetName, GetNthBestIteration, GetNthBestObjectiveValue, GetNthBestReplications, GetNthBestReplicationStandardDeviation, GetNthBestReplicationTerminationReason, GetNthBestReplicationTerminationReasonString, GetNthBestSolution, GetNthBestStatistic, GetNthEfficientFrontier, GetNumberEfficientFrontier, GetNumberofCompletedIterations, GetNumberOfConstraints, GetNumberOfFeasibleSolutions, GetNumberOfGenerators, GetNumberOfInfeasibleSolutions, GetNumberOfPermutationGenerators, GetNumberOfRequirements, GetNumberOfSeconds, GetNumberOfSolutions, GetNumberOfStringConstraints, GetNumberOfVariables, GetObjective, GetObjPrecision, GetPatternFrontier, GetPatternFrontier, GetPermutationGeneratorDescription, GetPortfolioMeasure, GetPortfolioStatistic, GetPortfolioStatisticValue, GetReducedCosts, GetReducedCosts, GetRegressionAnalysis, GetRejectNonLinear, GetReplication, GetReplication, GetReplicationConfidenceLevel, GetReplicationConfidencePercent, GetReplicationConfidenceType, GetRequirement, GetSolution, GetSolutionObjectiveValue, GetSolutionReplicationTerminationReason, GetSolutionReplicationTerminationReasonString, GetSolutionStatistic, GetStringConstraint, GetTaguchi, GetTargetFrontier, GetTerminationReason, GetTerminationReasonString, GetUseCrossEntropy, GetUseInfeasibilityIndex, GetUserControlledStop, GetUserControlledVariableConstraint, GetUseReplications, GetVariable, GetVariableAnalysis, GetVariables, GetVarPrecision, GetVersion, HasNoConstrainableVariables, InitializeOptimize, IsAdditionalReplicationsMode, IsBestFeasible, IsCurrentFeasible, IsCurrentFeasible, IsEnumerable, IsLastReplication, IsLinearEquation, IsLinearObjectiveEquation, IsMaximize, IsMinimize, IsNthBestFeasible, IsNthEfficientFrontierFeasible, IsPureJava, IsRankAndSelectionMode, IsSolutionMetConfidence, IsStopped, LogSetup, LogSolutions, MonitorInitialization, MonitorStatus, MonitorStatus, ObjectiveEquation, ObjectiveEquation, Optimize, OptimizeAdditional, PutSolution, RankAndSelect, Recalculate, RejectSolution, RemoveAnalysis, RemoveConstraint, RemoveConstraint, RemoveEvaluate, RemovePredictor, RemoveRequirement, SaveSolutions, SearchRestart, SetAdditionalIterations, SetAdditionalReplications, SetAdditionalReplicationsSolutions, SetAdditionalTime, SetAggressiveSearch, SetAutoStop, SetAutoStopFrequency, SetCannotGenerateAsTermReason, SetCheckDup, SetCrossOverSearch, SetCurrentObjectiveValue, SetCurrentObjectiveValue, SetDataBaseSize, SetDOEType, SetEvaluate, SetGradientAnalysis, SetGreedy, SetLargeProblem, SetLever, SetLicenseID, SetMaximize, SetMaximumIterations, SetMaximumReplications, SetMaximumTime, SetMetaHeuristic, SetMinimize, SetMinimumReplications, SetName, SetNthBest, SetObjPrecision, SetPortfolioMeasure, SetPortfolioStatistic, SetRandomSeed, SetRankAndSelectionCorrectProbability, SetRankAndSelectionIndifferenceZone, SetRankAndSelectionSolutions, SetRegressionAnalysis, SetRejectNonLinear, SetReplicationConfidence, SetTaguchi, SetUseCrossEntropy, SetUseDOE, SetUseInfeasibilityIndex, SetUseNeuralNetworkGenerator, SetUsePortfolioAlgorithms, SetUserControlledStop, SetUserControlledVariableConstraint, SetUseReplications, SetVarPrecision, SolveBestEquation, SolveBestLHS, SolveBestRHS, SolveCurrentEquation, SolveCurrentLHS, SolveCurrentRHS, SolveNthBestEquation, SolveNthBestLHS, SolveNthBestRHS, SolveSuggestedEquation, SolveSuggestedLHS, SolveSuggestedRHS, StopOnSuccessfulMILP, StopOptimization, UseEnglishOnly, ValidateEquation, ValidateEquation, ValidateObjectiveEquation, ValidateObjectiveEquation, ValidateSearchParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COptQuestTuner

public COptQuestTuner()
Method Detail

GetCurrentSearchParameters

public COptQuestSearchParameters GetCurrentSearchParameters()
                                                     throws COptQuestException
Deprecated. Returns the search parameters for the current iteration of the tuner. This should be passed into the constructor of the COptQuestOptimization object that represents the model during the tuning process

Returns:
the current search parameters
Throws:
COptQuestException

GetBestSearchParameters

public COptQuestSearchParameters GetBestSearchParameters()
                                                  throws COptQuestException
Deprecated. Returns the search parameters that produced the best result.

Returns:
the search parameters that produced the best result.
Throws:
COptQuestException

GetSearchParameters

public COptQuestSearchParameters GetSearchParameters(COptQuestSolution solution)
                                              throws COptQuestException
Returns the search parameters for the input solution. This should be passed into the constructor of the COptQuestOptimization object that represents the model during the tuning process.

Parameters:
solution -
Returns:
the search parameters for the input solution
Throws:
COptQuestException

Initialize

public void Initialize()
                throws COptQuestException
Sets up the tuner for optimizing search parameters. This must be called before you call Optimize().

Throws:
COptQuestException

InitializeStandard

public void InitializeStandard()
                        throws COptQuestException
Throws:
COptQuestException

InitializeGA

public void InitializeGA()
                  throws COptQuestException
Throws:
COptQuestException