Uses of Class
com.opttek.optquest.COptQuestException
-
Uses of COptQuestException in com.opttek.optquest
Methods in com.opttek.optquest that throw COptQuestExceptionModifier and TypeMethodDescriptionvoidCOptQuestOptimization.AddConstraint(COptQuestStringConstraint constraint) Adds the string constraint defined by the input parameter to the optimization.voidCOptQuestUserControlledOptimization.AddConstraint(COptQuestStringConstraint constraint) Adds the string constraint defined by the input parameter to the optimization.voidCOptQuestKrigAggregator.addEvaluator(com.opttek.optquest.IKrigEvaluator evaluator) voidCOptQuestOptimization.AddObjective(COptQuestObjective objective) Adds the objective defined by the input parameter to the optimization problem.voidCOptQuestUserControlledOptimization.AddObjective(COptQuestObjective objective) Adds the objective defined by the input parameter to the optimization problem.voidCOptQuestOptimization.AddObjectiveFunction(COptQuestObjectiveFunction objectiveFunction) Adds the linear objective function defined by the input parameter to the optimization.voidCOptQuestOptimization.AddRequirement(COptQuestOrRequirement requirement) Adds the "Or" requirement defined by the input parameter to the optimization.voidCOptQuestOptimization.AddRequirement(COptQuestRequirement requirement) Adds the requirement defined by the input parameter to the optimization.voidCOptQuestConstraint.AddVariable(COptQuestVariable variable, double coefficient) Adds a variable and its coefficient to the linear expression.voidCOptQuestExchangeableGroup.AddVariable(COptQuestVariable variable) Add a variable to the ExchangeableGroup.voidCOptQuestOptimization.AddVariable(COptQuestVariable variable) Adds the variable defined by the input parameter to the optimization.voidCOptQuestUserControlledOptimization.AddVariable(COptQuestVariable variable) Adds the variable defined by the input parameter to the optimization.voidCOptQuestExchangeableGroup.AddVariableGroup(COptQuestVariable[] variableGroup) Add an array of variable to the ExchangeableGroup.voidCOptQuestUserControlledOptimization.BeginOptimization()Call BeginOptimization() defining variables, constraints and an objective.voidCOptQuestOptimization.BuildMetamodel()After sampling is complete, this creates a metamodel based on the samples that have been collected.doubleCOptQuestSolutionSet.CalculateSensitivity(COptQuestSingleObjective obj) Returns the sensitivity score for the objective.doubleCOptQuestSolutionSet.CalculateSensitivity(COptQuestVariable var) Calculate a sensitivity score for the input variable.doubleCOptQuestSolutionSet.CalculateStatistic(COptQuestSingleObjective obj, int statistic, double statisticValue) Using the solution set values for the objective, calculate the specified statisticdoubleCOptQuestSolutionSet.CalculateStatistic(COptQuestVariable var, int statistic, double statisticValue) Using the solution set values of the specified variable, calculate the specified statistic.voidCOptQuestOptimization.ChangeVariableConstraint()Directs the OptQuest Engine to advance to the next bound when the optimization problems contain aCOptQuestStringConstraintwith variable bounds.voidCOptQuestStringConstraint.CheckExpression()Checks the constraint expression for syntax errors.voidCOptQuestStringObjective.CheckExpression()Checks the objective expression for syntax errors.voidCOptQuestStringVariable.CheckExpression()Checks the objective expression for syntax errors.voidCOptQuestOptimization.CheckOptimization()Use this method to check an optimization for errors.voidCOptQuestUserControlledOptimization.CheckOptimization()Use this method to check an optimization for errors.voidCOptQuestOptimization.ContinueOptimize()This method allows the user to continue an optimization that was stopped while iterations or time remained.COptQuestOptimization.CreateSolution()Creates a new solution that can be used to create a suggested solution.COptQuestUserControlledOptimization.CreateSolution()Creates a new solution that can be used to create a suggested solution.voidCOptQuestOptimization.EfficientFrontier()A method that may be overwritten for problems that contain a COptQuestStringConstraint object with variable bounds.voidCOptQuestOptimization.Evaluate(COptQuestSolution solution) Virtual method where you provide code to evaluate the solution.voidCOptQuestOptimization.EvaluateComplete(COptQuestSolution solution) Use when using parallel evaluators.
Call EvaluateComplete(COptQuestSolution) fromEvaluate(COptQuestSolution)to indicate the evaluation of the solution is complete.voidCOptQuestOptimization.EvaluateMetamodel(COptQuestSolution sol) Evaluates a solution at an arbitrary location in the domain based on the metamodel construcsted with BuildMetaModel()voidCOptQuestUserControlledOptimization.EvaluateMetamodel(COptQuestSolution sol) Evaluates a solution at an arbitrary location in the domain based on the metamodel construcsted with BuildMetaModel()abstract COptQuestKrigEvaluatorCOptQuestKrigAggregator.getAggregatedEvaluator()COptQuestKrigAverageAggregator.getAggregatedEvaluator()COptQuestKrigMaxAggregator.getAggregatedEvaluator()COptQuestKrigMinAggregator.getAggregatedEvaluator()doubleCOptQuestWeightedMultiObjective.GetCoefficientAt(int index) Deprecated.Returns the coefficient at the specified indexdoubleCOptQuestSolution.GetConfidenceWidth(COptQuestRequirement requirement) Return the confidence width for the input requirement.doubleCOptQuestSolution.GetConfidenceWidth(COptQuestSingleObjective objective) Return the confidence width for the input objective.doubleCOptQuestSolution.GetConstraintLHS(COptQuestStringConstraint con) Returns the value of the left hand side of the string constraint using this solution.doubleCOptQuestSolution.GetConstraintLHS(COptQuestStringConstraint con, int clause) Returns the value of the left hand side of the string constraint using this solution.doubleCOptQuestSolution.GetConstraintRHS(COptQuestStringConstraint con) Returns the value of the right hand side of the constraint using this solution.doubleCOptQuestSolution.GetConstraintRHS(COptQuestStringConstraint con, int clause) Returns the value of the right hand side of the string constraint using this solution.doubleIKrigVariogram.getCovariance(double[] v1, double[] v2) double[][]IKrigVariogram.getCurvature(double[] v1, double[] v2) COptQuestOptimization.GetEmptySolution()COptQuestUserControlledOptimization.GetEmptySolution()COptQuestOptimization.GetEstimatedIterations()Returns a lower and upper estimate on the number of iterations to run.COptQuestOptimization.GetEstimatedParallelEvaluators()Returns an estimate on the maximum number of parallel evaluators that can be used with this problem.double[]IKrigVariogram.getGradient(double[] v1, double[] v2) COptQuestStringConstraint.GetLHSString(int clause) Returns the left hand side string expression associated with the clause indicated by the input parameter.COptQuestUserControlledOptimization.GetNextSolution()Call this method to get the next solution for evaluation.COptQuestMultiObjective.GetObjectiveAt(int index) Returns the objective at the specified index.doubleCOptQuestSolution.GetObjectiveValue()Deprecated.doubleCOptQuestSolution.GetObjectiveValue(COptQuestSingleObjective singleObj) Returns the objective value for a specified objective.doubleCOptQuestSolution.GetObjectiveValue(COptQuestStringObjective stringObj) Returns the objective value for a specified objective.doubleCOptQuestSolution.GetObjectiveValue(COptQuestUserControlledObjective userObj) Returns the objective value for a specified objective.doubleCOptQuestSolution.GetObjectiveValue(COptQuestWeightedMultiObjective weightedObj) COptQuestOptimization.GetPatternFrontier(COptQuestSingleObjective obj) Provides all solutions in the current pattern frontier sorted by the specified objective.COptQuestUserControlledOptimization.GetPatternFrontier(COptQuestSingleObjective obj) Provides all solutions in the current pattern frontier sorted by the specified objective.COptQuestKrigCoEvaluator.getProjection(int[] dims) COptQuestKrigEvaluator.getProjection(int[] dims) COptQuestKrigFactory.getProjection(int[] dims) COptQuestKrigMahalanobisDistance.getProjection(int[] dims) COptQuestKrigMixedDistance.getProjection(int[] dims) COptQuestKrigNormalizedDistance.getProjection(int[] dims) IKrigDistance.getProjection(int[] dims) intCOptQuestSolution.GetReplicationCount()Returns the number of completed replications.intCOptQuestSolution.GetReplicationTerminationReason()Returns the reason replications were terminated for this solution.COptQuestSolution.GetReplicationTerminationReasonString()Returns a text string which describes the reason replications were terminated for this solution.COptQuestSolution.GetReplicationValue(COptQuestRequirement requirement, int replication) Return the replication value for the input requirement and specified replication.COptQuestSolution.GetReplicationValue(COptQuestSingleObjective objective, int replication) Return the replication value for the input objective and specified replication.COptQuestSolution.GetReplicationValue(COptQuestStringObjective stringObj, int replication) Return the replication value for the input objective and specified replication.COptQuestSolution.GetReplicationValue(COptQuestUserControlledObjective userObj, int replication) Return the replication value for the input objective and specified replication.COptQuestSolution.GetReplicationValue(COptQuestUserControlledVariable userVar, int replication) Return the replication value for the input user controlled variable and specified replication.COptQuestSolution.GetReplicationValue(COptQuestWeightedMultiObjective objective, int replication) Return the replication value for the input weighted objective and specified replication.COptQuestSolution.GetReplicationValues(COptQuestRequirement requirement) Return the replication values for the input requirement.COptQuestSolution.GetReplicationValues(COptQuestSingleObjective objective) Return the replication values for the input objective.COptQuestSolution.GetReplicationValues(COptQuestStringObjective stringObj) Return the replication values for the input objective.COptQuestSolution.GetReplicationValues(COptQuestUserControlledObjective userObj) Return the replication values for the input objective.COptQuestSolution.GetReplicationValues(COptQuestUserControlledVariable userVar) Return the replication values for the input variable.COptQuestSolution.GetReplicationValues(COptQuestWeightedMultiObjective objective) Return the replication values for the input objective.COptQuestStringConstraint.GetRHSString(int clause) Returns the right hand side string expression associated with the clause indicated by the input parameter.booleanCOptQuestSolution.IsFeasible()Returns true if the solution satisfies all constraints and requirements.booleanCOptQuestSolution.IsMaximize()Returns true if the goal of the optimization is to maximize the objective value.booleanCOptQuestSolution.IsMinimize()Returns true if the goal of the optimization is to mimimize the objective value.voidCOptQuestSolutionSet.LoadSolutionSet(int numSolutions, int orderBy) Loads the solution set with the specified number of solutions, ordered by the orderBy parameter.voidCOptQuestOptimization.MonitorStatus(COptQuestSolution sol) Override this method to monitor the progress of an optimization.voidCOptQuestOptimization.Optimize()Method that optimizes the problem.voidCOptQuestOptimization.OptimizeAdditional()This method allows the user to run additional iterations after an optimization has stopped.voidCOptQuestOptimization.Recalculate()Recalculate() rechecks all evaluated solutions against the current optimization definition.voidCOptQuestOptimization.RemoveConstraint(COptQuestConstraint constraint) Removes the constraint from the optimizationvoidCOptQuestOptimization.RemoveConstraint(COptQuestStringConstraint constraint) Removes the constraint from the optimizationCOptQuestUserControlledOptimization.ReturnEvaluatedSolution(COptQuestSolution solution) Call when a COptQuestSolution has completed evaluation.voidCOptQuestOptimization.Sample(int method) Method that runs adaptive sampling on the problem.voidCOptQuestOptimization.SearchRestart()For use by advanced users who want the search for solutions to be restarted.voidCOptQuestOptimization.SetAdditionalReplications(int MoreReplications) Sets the number of additional replications to be run on the top n solutions.voidCOptQuestOptimization.SetAdditionalReplicationsSolutions(int Value) Identifies the top n solutions that will have additional replications run.voidCOptQuestStringVariable.setDefinition(com.opttek.optquest.OptQuestDefinition def) voidCOptQuestStringObjective.SetEquation(String expression) Sets the mathematical expression that defines the objective.voidCOptQuestOptimization.SetEvaluate(int numberOfParallelEvaluators) The input parameter identifies the number of parallel evaluations that will be performed by the user.voidCOptQuestUserControlledOptimization.SetEvaluate(int numberOfParallelEvaluators) The input parameter identifies the number of parallel evaluations that will be performed by the user.voidCOptQuestBinaryVariable.SetExclusiveRange(double low, double high) Illegal method for binary variables.voidCOptQuestDesignVariable.SetExclusiveRange(double low, double high) Illegal method for design variables.voidCOptQuestPermutationVariable.SetExclusiveRange(double low, double high) Illegal method for permutation variablesvoidCOptQuestUserControlledVariable.SetExclusiveRange(double low, double high) Not valid for COptQuestUserControlledVariablesvoidCOptQuestVariable.SetExclusiveRange(double low, double high) Defines a range of values that will be excluded as possible solutions.voidCOptQuestOptimization.SetHeatMapMaximumReplications(int maximum) Sets the maximum number of replications to be run when running a HeatMap optimization.voidCOptQuestUserControlledOptimization.SetHeatMapMaximumReplications(int maximum) Sets the maximum number of replications to be run when running a HeatMap optimization.voidCOptQuestOptimization.SetHeatMapMinimumReplications(int minimum) Sets the minimum number of replications to be run when running a HeatMap optimization.voidCOptQuestUserControlledOptimization.SetHeatMapMinimumReplications(int minimum) Sets the minimum number of replications to be run when running a HeatMap optimization.voidCOptQuestBinaryVariable.SetLowerBound(double val) Illegal method for binary variables.voidCOptQuestPermutationVariable.SetLowerBound(double value) Illegal method for permutation variablesvoidCOptQuestUserControlledVariable.SetLowerBound(double lowerBound) Not valid for COptQuestUserControlledVariablesvoidCOptQuestVariable.SetLowerBound(double lowerBound) Sets the lower bound of the decision variablevoidCOptQuestOptimization.SetMinimumReplications(int minimum) Sets the minimum number of replications to be run when running general replication.voidCOptQuestUserControlledOptimization.SetMinimumReplications(int minimum) Sets the minimum number of replications to be run when running general replication.voidCOptQuestWeightedMultiObjective.SetObjectiveCoefficient(COptQuestSingleObjective obj, double coefficient) Deprecated.Assigns a new coefficient to the input objective.voidCOptQuestOptimization.SetReplicationBatchSize(int batchSize) Some simulations can run multiple replication in a single simulation run and allow the replication data to be retrieved by replication.When running with confidence settings and a batchSize setting, all replication data will be used to calculate the confidence width.voidCOptQuestRequirement.SetReplicationStatistic(int statistic, double statisticValue) When running multiple replications, you can define a statistic which is used to calculate the requirement value using the values of the replications.voidCOptQuestSingleObjective.SetReplicationStatistic(int statistic, double statisticValue) Defines the statistic for the replications of an objective.voidCOptQuestUserControlledVariable.SetReplicationStatistic(int statistic, double statisticValue) Defines the statistic for the replications of a user controlled variable.voidCOptQuestBinaryVariable.SetStepSize(double stepSize) Illegal method for binary variables, step size is always 1voidCOptQuestDiscreteVariable.SetStepSize(double val) Sets the step size.voidCOptQuestIntegerVariable.SetStepSize(double stepSize) Illegal method for integer variables, step size is always 1voidCOptQuestBinaryVariable.SetUpperBound(double val) Illegal method for binary variables.voidCOptQuestPermutationVariable.SetUpperBound(double value) Illegal method for permutation variablesvoidCOptQuestUserControlledVariable.SetUpperBound(double upperBound) Not valid for COptQuestUserControlledVariablesvoidCOptQuestVariable.SetUpperBound(double upperBound) Sets the upper bound of the decision variablevoidCOptQuestSolution.SetVariableValue(COptQuestUserControlledVariable var, int replication, double repValue) voidCOptQuestSolution.SetVariableValue(COptQuestVariable var, double varValue) Sets the value of the decision variable for this solution.booleanCOptQuestSolution.SolutionMetConfidence(COptQuestRequirement theReq) Returns true if the input requirement met confidence level checks for replications.booleanCOptQuestSolution.SolutionMetConfidence(COptQuestSingleObjective objective) Returns true if the input objective met confidence level checks for replications.doubleCOptQuestSolution.SolveExpression(String str) Solves the input expression using this solution and returns the value of the expression.Constructors in com.opttek.optquest that throw COptQuestExceptionModifierConstructorDescriptionCOptQuestGeolocationVariable(double[][] locations) COptQuestGeolocationVariable(String name, double[][] locations) Default constructorCOptQuestKrigCoEvaluator(COptQuestKrigFactory krigFactory) COptQuestKrigCoEvaluator(COptQuestKrigFactory krigFactory, boolean enableAsync) COptQuestKrigDifferenceEvaluator(COptQuestKrigFactory krigFactory, COptQuestKrigEvaluator srcEvaluator) COptQuestKrigEvaluator(COptQuestKrigFactory krigFactory) COptQuestKrigEvaluator(COptQuestKrigFactory krigFactory, boolean enableAsync) COptQuestKrigFactory(COptQuestKrigVarInfo varInfo) COptQuestKrigFactory(COptQuestKrigVarInfo varInfo, String useVariogram) COptQuestTupleVariable(double[][] tuples) COptQuestTupleVariable(String name, double[][] tuples) Default constructor