Optimizer.GetConstraint(String) Method

Top 

Description

Gets a reference to the Constraint associated with the specified label. If no Constraint is associated with that label, an error is reported.

 

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.GetConstraint(

String label)

 

 

Arguments

label


Description:

The label corresponding to the Constraint.

 

 

 

Return Value

Type:

OptimizationConstraint

 

 

Returns the OptimizationConstraint object with the specified label.

 

Syntax

myOptimizer1.GetConstraint(myString1);

 

 

See also

Optimizer Object