Optimizer.GetBestStateVariableValue(String) Method

Top 

Description

Returns the value of the specified state variable corresponding to the best solution found so far. Calling this method before the first Optimizer evaluation is complete will return -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.GetBestStateVariableValue(

String label)

 

 

Arguments

label


Description:

Label of state variable value to return.

 

 

 

Return Value

Type:

number

 

 

Returns the value of the state variable for the best solution found.

 

Syntax

myVariable1 = myOptimizer1.GetBestStateVariableValue(myString1);

 

 

See also

Optimizer Object