Optimizer.AddConstraintBlock(Variable, String) Method

Top 

Description

Creates "n" new entries in the Optimizer.Constraints array. Label is used as a prefix to create incremented labels for each entry.

 

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

Variable n,


String baseLabel)

 

 

Arguments

n


Description:

The number of optimization constraints to add.

Valid Range:

n ≥ 0

 

 

baseLabel


Description:

The base label for this block of optimization constraints.

 

 

 

Return Value

Type:

number

 

 

Returns the updated number of constraints.

 

Syntax

myVariable1 = myOptimizer1.AddConstraintBlock(myVariable2, myString1);

 

 

See also

Optimizer Object

Optimizer.AddConstraintBlock