The activity for the constraint from the solution. (Double Property - Read Only)
The constraint number in the matrix. (Integer Property - Read/Write)
Specifies if the constraint contains nonlinear variables. (Booelan Property - Read/Write)
Specifies if the constraint contains at least one variable. (Boolean Property - Read/Write)
The lower bound for the constraint. (Double Property - Read Only)
The name of the constraint. (String Property - Read/Write)
The range value for the constraint. (Double Property - Read/Write)
The lower range for the RHS value in the solution. (Double Property - Read Only)
The upper range for the RHS value in the solution. (Double Property - Read Only)
The right-hand-side value for the constraint. (Double Property - Read/Write)
The shadow price for the constraint from the solution. (Double Property - Read Only)
The slack value for the constraint from the solution. (Double Property - Read Only)
The row number for the constraint in the solver solution. (Integer Property - Read Only)
The stochastic stage number for the constraint. (Integer Property - Read Only)
The type of the constraint. (Enumerated Property - Read/Write). Possible values are:
The upper bound for the constraint. (Double Property - Read Only)
Visual Basic Example:
     Dim MPL As OptiMax
     Dim planModel As Model
     Dim planSol As Solution
     Dim planCons As Constraints
     Set MPL = New OptiMax
     MPL.Solvers.Add ("c:\mplwin4\CPLEX65.dll")
     Set planModel = MPL.Models.Add("Planning.mpl")
     Set planSol = planModel.Solution
     Set planCons = planSol.Constraints
     MPL.WorkingDirectory = "c:\mplwin4"
     result = planModel.ReadModel(planModel.Name)
     result = planModel.Solve
     If (result > 0) Then
         MsgBox planModel.ErrorMessage
     End if
     For Each constr In planCons
         Debug.Print constr.ConNr & ") " & constr.Name & _
          "      " & constr.SlackValue & "     " & constr.ShadowPrice
     Next constr