Uses of Class
com.opttek.optquest.COptQuestVariable
Packages that use COptQuestVariable
-
Uses of COptQuestVariable in com.opttek.optquest
Subclasses of COptQuestVariable in com.opttek.optquestModifier and TypeClassDescriptionclassThe COptQuestBinaryVariable class defines a binary decision variable which is a discrete variable that can have a value of 0 or 1.classThe COptQuestContinuousVariable class defines a decision variable that can have any value between the lower bound and upper bound.classDesign variables are used when value of the decision variable represents an alternative, and not a quantity.classThe CoptQuestDiscreteVariable class defines a decision variable whose values begin at the lower bound and increment by a step size up to the upper boundclassThe COptQuestEnumerationVariable class defines a decision variable that has an enumerated set of values such as 5,7 and 25.classThe COptQuestGeolocationVariable class defines a decision variable whose values are lists of latitude and longitude.classThe COptQuestIntegerVariable class defines a decision variable whose values begin at the lower bound and increment by a 1 to the upper bound.classPermutation variables are used to solve sequencing problems.classThe COptQuestTupleVariable class defines a decision variable whose values are lists of tuples.classThe COptQuestUserControlledVariable class allows you to define a variable where you set the value of the variable.Methods in com.opttek.optquest that return COptQuestVariableModifier and TypeMethodDescriptionCOptQuestOptimization.GetVariable(String Name) Given a variable name, return the COptQuestVariable object.COptQuestUserControlledOptimization.GetVariable(String Name) Given a variable name, return the COptQuestVariable object.COptQuestConstraint.GetVariableAt(int index) Returns the COptQuestVariable at the specified 0 based index.COptQuestObjectiveFunction.GetVariableAt(int index) Returns the variable at the specified index.Methods in com.opttek.optquest that return types with arguments of type COptQuestVariableModifier and TypeMethodDescriptionCOptQuestOptimization.GetVariables()Returns an array of all variables that have been added to the optimization using the AddVariable()method.COptQuestUserControlledOptimization.GetVariables()Returns an array of all variables that have been added to the optimization using the AddVariable()method.Methods in com.opttek.optquest with parameters of type COptQuestVariableModifier and TypeMethodDescriptionvoidCOptQuestConstraint.AddVariable(COptQuestVariable variable, double coefficient) Adds a variable and its coefficient to the linear expression.voidCOptQuestEquationSolver.AddVariable(COptQuestVariable var) Makes the decision variable available to the parsing methods.voidCOptQuestObjectiveFunction.AddVariable(COptQuestVariable variable, double coefficient) Adds a variable and its coefficient to the linear objective which has the form coeff1 * var1 + coeff2 + var2 + coeffn * varN.voidCOptQuestOptimization.AddVariable(COptQuestVariable variable) Adds the variable defined by the input parameter to the optimization.voidCOptQuestSelectionGroup.AddVariable(COptQuestVariable variable) Add a dependent variable that is set to the lower bound when the selection variable is offvoidCOptQuestUserControlledOptimization.AddVariable(COptQuestVariable variable) Adds the variable defined by the input parameter to the optimization.doubleCOptQuestSolutionSet.CalculateSensitivity(COptQuestVariable var) Calculate a sensitivity score for the input variable.doubleCOptQuestSolutionSet.CalculateStatistic(COptQuestVariable var, int statistic, double statisticValue) Using the solution set values of the specified variable, calculate the specified statistic.voidCOptQuestConstraint.ChangeVariableCoefficient(COptQuestVariable findVar, double coefficient) Changes the coefficient of the variable to the value specified by the input parameter.voidCOptQuestObjectiveFunction.ChangeVariableCoefficient(COptQuestVariable var, double coefficient) Change the coefficient for this variable.voidCOptQuestConstraint.RemoveVariable(COptQuestVariable variable) Modifies the constraint by removing the variable.Method parameters in com.opttek.optquest with type arguments of type COptQuestVariableModifier and TypeMethodDescriptionvoidCOptQuestEquationSolver.AddVariables(ArrayList<COptQuestVariable> vars) Makes the input array of decision variables available to the parsing methods.Constructors in com.opttek.optquest with parameters of type COptQuestVariableModifierConstructorDescriptionCOptQuestSelectionGroup(COptQuestVariable selectionVariable) The constructor includes the variable that indicates the selection of an item (on/off)