MultiObjectiveOptimizer.AddIntegerStateVariableBlock(Variable, String) Method

Top 

Description

Creates 'n' new entries in the MultiObjectiveOptimizer.IntegerStateVariables array. Label is used as a prefix to create incremented labels for each entry. 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.AddIntegerStateVariableBlock(

Variable n,


String baseLabel)

 

 

Arguments

n


Description:

The number of state variables to add.

Valid Range:

n ≥ 0

 

 

baseLabel


Description:

The base label for this block of state variables.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the first added integer state variable.

 

Syntax

myVariable1 = myMultiObjectiveOptimizer1.AddIntegerStateVariableBlock(myVariable2, myString1);

 

 

See also

MultiObjectiveOptimizer Object

MultiObjectiveOptimizer.AddIntegerStateVariableBlock