MultiObjectiveOptimizer.AddIntegerStateVariable(String, Variable, Variable) Method

Top 

Description

Creates a new entry in the MultiObjectiveOptimizer.IntegerStateVariables array with the specified label. Integer state variables can have any real integer value between or equal to their lower and upper bounds.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

MultiObjectiveOptimizer.AddIntegerStateVariable(

String label,


Variable lowerBound,


Variable upperBound)

 

 

Arguments

label


Description:

The label for the state variable.

 

 

lowerBound


Description:

Lower bound associated with the state variable.

 

 

upperBound


Description:

Upper bound associated with the state variable.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the added integer state variable.

 

Syntax

myVariable1 = myMultiObjectiveOptimizer1.AddIntegerStateVariable(myString1, myVariable2, myVariable3);

 

 

See also

MultiObjectiveOptimizer Object

MultiObjectiveOptimizer.AddIntegerStateVariable