MultiObjectiveOptimizer.AddContinuousStateVariableBlock(StringArray, Array, Array) Method

Top 

Description

Creates a new entry in the MultiObjectiveOptimizer.ContinuousStateVariables array for every label provided, while providing initial values for StateVariable properties. All array arguments must be of the same length. Continuous state variables can have any real 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.AddContinuousStateVariableBlock(

StringArray labels,


Array lowerBounds,


Array upperBounds)

 

 

Arguments

labels


Description:

The labels for this block of state variables.

 

 

lowerBounds


Description:

The lower bounds for this block of state variables.

Required Size:

At least 0

 

 

upperBounds


Description:

The upper bounds for this block of state variables.

Required Size:

At least 0

 

 

 

Return Value

Type:

number

 

 

Returns the index of the first added continuous state variable.

 

Syntax

myVariable1 = myMultiObjectiveOptimizer1.AddContinuousStateVariableBlock(myStringArray1, myArray1, myArray2);

 

 

See also

MultiObjectiveOptimizer Object

MultiObjectiveOptimizer.AddContinuousStateVariableBlock