The OplRelaxationIterator type exposes the following members.

Methods

  Name Description
Public method Attach(IConstraint, Double)
Attach a constraint ct to a value pref (for preference). After some attachments have been done, only the constraints with attached preferences are taken into account for relaxation.
Public method Attach(IConstraintMap, INumMap)
Attach a constraint map cts to a value map prefs of preferences. After some attachments have been done only the constraints with attached preferences are taken into account for relaxation.
Public method attach_cpp(IloConstraint, Double)
Public method attach_cpp(IloConstraintMap, IloNumMap)
Public method Dispose
Public method End
Clears the memory used by this object
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize (Overrides Object..::..Finalize()()()().)
Public method first
Goes to the first relaxation.
Public method getConstraint
Returns the relaxed constraint.

Return Value

an [!:IConstraint] object, can be null.

Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method getLB
Returns the lower bound.

Return Value

A num representing the lower bound.

Public method getRelaxedLB
Returns the relaxed lower bound.

Return Value

A num representing the relaxed lower bound.

Public method getRelaxedUB
Returns the relaxed upper bound.

Return Value

A num representing the relaxed upper bound.

Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method getUB
Returns the upper bound.

Return Value

A num representing the upper bound.

Public method hasNext
Returns true, if there another relaxation.

Return Value

true if there is another relaxation.

Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method next
Goes to the next relaxation.
Public method PrintRelaxation
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also