The Constraints Collection

The Constraints collection is used to store a list of Constraint objects. The parent can be either the Matrix object or the Solution object. These objects use the Constraints collection to store a list of all the constraints that are defined in the matrix or the solution.

Objects contained by the Constraints Object

Item (Index)

Returns the selected Constraint object from the collection. (Object Property).

Methods for the Constraints Object

Add (Count)

Adds a new Constraint object to the collection and the parent Matrix object. (Method)

Properties for the Constraints Object

Count

The number of constraints in the collection. (Integer Property - Read Only)

EqualCount

The number of equal constraints in the matrix. (Integer Property - Read Only)

GreaterThanCount

The number of greater constraints in the matrix. (Integer Property - Read Only)

LessThanCount

The number of less than constraints in the matrix. (Integer Property - Read Only)

NonlinearCount

The number of constraints which contain nonlinear terms. (Integer Property - Read Only)

RangeCount

The number of ranged constraints in the matrix. (Integer Property - Read Only)

RHSCount

The number of constraints with nonzero RHS values. (Integer Property - Read Only)

UsedCount

The number of used constraints in the matrix. (Integer Property - Read Only)


Back To Top | Maximal Home Page | Table of Contents | Previous Page | Next Page