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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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