Description
Creates a new entry in the Optimizer.Constraints array for every label provided, while providing initial values for Constraint properties. All array arguments must be of the same length.
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
Arguments
labels
|
|
Description:
|
The labels for this block of optimization constraints.
|
lowerBounds
|
|
Description:
|
The lower bounds for this block of optimization constraints.
|
Required Size:
|
At least 0
|
upperBounds
|
|
Description:
|
The upper bounds for this block of optimization constraints.
|
Required Size:
|
At least 0
|
scales
|
|
Description:
|
The scales for this block of optimization constraints.
|
Required Size:
|
At least 0
|
cyclicRanges
|
|
Description:
|
The cyclic ranges for this block of optimization constraints.
|
Required Size:
|
At least 0
|
Return Value
Returns the updated number of constraints.
Syntax
myVariable1 = myOptimizer1.AddConstraintBlock(myStringArray1, myArray1, myArray2, myArray3, myArray4);
|
See also
Optimizer Object
Optimizer.AddConstraintBlock
|