Package com.opttek.optquest
Class COptQuestPermutationGroup
java.lang.Object
com.opttek.optquest.COptQuestPermutationGroup
Deprecated.
Use this class to add groups of permutation variables to an
optimization problem. Permutation variables within each group are sequenced.
Values of variables added to the permutation group will range from 1 to the
value returned by
GetNumberOfVariables.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddVariable(COptQuestPermutationVariable variable) Deprecated.Adds a permutation variable to the group.booleanContainsVariable(COptQuestPermutationVariable variable) Deprecated.Checks if the permutation group contains this variable.intDeprecated.Get number of permutation variablesgetVariableAt(int index) Deprecated.Deprecated.
-
Constructor Details
-
COptQuestPermutationGroup
public COptQuestPermutationGroup()Deprecated.
-
-
Method Details
-
AddVariable
Deprecated.Adds a permutation variable to the group. -
GetNumberOfVariables
public int GetNumberOfVariables()Deprecated.Get number of permutation variables- Returns:
- number of permutation variables
-
ContainsVariable
Deprecated.Checks if the permutation group contains this variable.- Returns:
- variable is in group
-
getVariableAt
Deprecated. -
getVariables
Deprecated.
-
COptQuestSequenceVariable) instead. Add it withOptQuestModel.AddSequenceVariable(String, String[], Integer). A sequence variable gives the same ranks, from 1 to n, and it also has a top-k mode.