Optimizer.GetBestStateVariableValues() Method

Top 

Description

Returns an array containing the values of the state variables corresponding to the best solution found so far. Calling this method before the first Optimizer evaluation is complete will return an Array of -999.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

Optimizer.GetBestStateVariableValues(

)

 

 

Return Value

Type:

Array of number

 

 

Returns the values of all the state variables for the best solution found.

 

Syntax

myArray1 = myOptimizer1.GetBestStateVariableValues();

 

 

See also

Optimizer Object