Optimizer.GetBestConstraintValue(String) Method

Top 

Description

Returns the value of the specified constraint 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 nanosecond timing precision mode.

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

 

Method Signature

Optimizer.GetBestConstraintValue(

String label)

 

 

Arguments

label


Description:

Label of constraint value to return.

 

 

 

Return Value

Type:

number

 

 

Returns the value of the constraint for the best solution found.

 

Syntax

myVariable1 = myOptimizer1.GetBestConstraintValue(myString1);

 

 

See also

Optimizer Object