Optimizer.AddConstraintBlock Method

Top 

Description

Adds a block of Constraints.

 

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.

 

Overload List

Signatures

Return Value

Description

Optimizer.AddConstraintBlock(StringArray labels)

Variable

Creates a new entry in the Optimizer.Constraints array for every label provided.

Optimizer.AddConstraintBlock(StringArray labels, Array lowerBounds)

Variable

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.

Optimizer.AddConstraintBlock(Variable n, String baseLabel)

Variable

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

Optimizer.AddConstraintBlock(StringArray labels, Array lowerBounds, Array upperBounds)

Variable

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.

Optimizer.AddConstraintBlock(Variable n, String baseLabel, Variable lowerBound)

Variable

Creates "n" new entries in the Optimizer.Constraints array, while providing initial values for Constraint properties. Label is used as a prefix to create incremented labels for each entry.

Optimizer.AddConstraintBlock(StringArray labels, Array lowerBounds, Array upperBounds, Array scales)

Variable

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.

Optimizer.AddConstraintBlock(Variable n, String baseLabel, Variable lowerBound, Variable upperBound)

Variable

Creates "n" new entries in the Optimizer.Constraints array, while providing initial values for Constraint properties. Label is used as a prefix to create incremented labels for each entry.

Optimizer.AddConstraintBlock(StringArray labels, Array lowerBounds, Array upperBounds, Array scales, Array cyclicRanges)

Variable

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.

Optimizer.AddConstraintBlock(Variable n, String baseLabel, Variable lowerBound, Variable upperBound, Variable scale)

Variable

Creates "n" new entries in the Optimizer.Constraints array, while providing initial values for Constraint properties. Label is used as a prefix to create incremented labels for each entry.

Optimizer.AddConstraintBlock(Variable n, String baseLabel, Variable lowerBound, Variable upperBound, Variable scale, Variable cyclicRange)

Variable

Creates "n" new entries in the Optimizer.Constraints array, while providing initial values for Constraint properties. Label is used as a prefix to create incremented labels for each entry.

 

 

See also

Optimizer Object