Optimizer.GetBestObjectiveFunctionValue() Method

Top 

Description

Returns objective function value corresponding to the best feasible 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.GetBestObjectiveFunctionValue(

)

 

 

Return Value

Type:

number

 

 

Returns the value of the objective function for the best solution found.

 

Syntax

myVariable1 = myOptimizer1.GetBestObjectiveFunctionValue();

 

 

See also

Optimizer Object