com.opttek.optquest
Class COptQuestPermutationVariable

java.lang.Object
  extended bycom.opttek.optquest.COptQuestVariable
      extended bycom.opttek.optquest.COptQuestPermutationVariable

public class COptQuestPermutationVariable
extends COptQuestVariable

Permutation variables are used to solve sequencing problems. For example, you could use permutation variables to determine the order in which paint should be mixed to minimize cleanup time between color changes. The value of a permutation variable represents the order within the sequence.


Constructor Summary
COptQuestPermutationVariable()
          Default constructor
COptQuestPermutationVariable(java.lang.String name)
          Constructor that assigns a name to the variable.
 
Method Summary
 java.lang.String GetType()
           
 void SetExclusiveRange(double low, double high)
          Illegal method for permutation variables
 void SetLowerBound(double value)
          Illegal method for permutation variables
 void SetStepSize(double value)
          Illegal method for permutation variables
 void SetUpperBound(double value)
          Illegal method for permutation variables
 
Methods inherited from class com.opttek.optquest.COptQuestVariable
GetBestValue, GetCurrentValue, GetCurrentValue, GetExclusiveLowerBoundAt, GetExclusiveUpperBoundAt, GetLowerBound, GetName, GetNthBestValue, GetNumberOfExclusiveRanges, GetNumberOfObservations, GetNumberOfPeriods, GetObservationAt, GetObservations, GetPeriodObservationAt, GetPeriodObservations, GetStepSize, GetSuggestedValue, GetUpperBound, SetCurrentValue, SetCurrentValue, SetName, SetNumberOfPeriods, SetObservations, SetPeriodObservations, SetSuggestedValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COptQuestPermutationVariable

public COptQuestPermutationVariable(java.lang.String name)
Constructor that assigns a name to the variable.

Parameters:
name - alphanumeric name. Note: the name can contain blanks or special characters. If the variable name is used in a COptQuestStringConstraint equation, the name should be enclosed in square brackets [] in the COptQuestStringConstraint string equation.

COptQuestPermutationVariable

public COptQuestPermutationVariable()
Default constructor

Method Detail

SetStepSize

public void SetStepSize(double value)
                 throws COptQuestException
Illegal method for permutation variables

Overrides:
SetStepSize in class COptQuestVariable
Throws:
COptQuestException

SetLowerBound

public void SetLowerBound(double value)
                   throws COptQuestException
Illegal method for permutation variables

Overrides:
SetLowerBound in class COptQuestVariable
Parameters:
value - a value between -pow(2,31) and +pow(2,31)-1
Throws:
COptQuestException

SetUpperBound

public void SetUpperBound(double value)
                   throws COptQuestException
Illegal method for permutation variables

Overrides:
SetUpperBound in class COptQuestVariable
Parameters:
value - a value between -pow(2,31) and +pow(2,31)-1
Throws:
COptQuestException

SetExclusiveRange

public void SetExclusiveRange(double low,
                              double high)
                       throws COptQuestException
Illegal method for permutation variables

Overrides:
SetExclusiveRange in class COptQuestVariable
Parameters:
low - - any value > low will be excluded
high - - any value < high will be exluded
Throws:
COptQuestException

GetType

public java.lang.String GetType()
Overrides:
GetType in class COptQuestVariable