Initializing help system before first use

XPRBcut Methods

The XPRBcut type exposes the following members.

Methods
  Name Description
Public methodCode example add
Add an XPRBexpr expression to a cut. The entire expression given is added to the left hand side of the cut. That is, in order to normalize the cut representation, any constant term contained in the expression will be subtracted from the RHS value.
Public methodCode example addTerm(Double)
Add a new numeric term to the current XPRBcut.
Public methodCode example addTerm(XPRBvar)
Set a new term to the current XPRBcut.
Public methodCode example addTerm(Double, XPRBvar)
Add a new term to the current XPRBcut.
Public methodCode example addTerm(XPRBvar, Double)
Add a new term to the current XPRBcut.
Public methodCode example assign
Assigns an XPRBrelation relation as the current XPRBcut.
Public methodCode example delTerm
Delete a variable term in the current XPRBcut.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodCode example getCRef
Returns the CRef reference for the current XPRBcut object.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodCode example getID
Get the ID of a cut. The default ID value is 0.
Public methodCode example getRHS
Retrieve the RHS of the current XPRBcut.
Public methodCode example getType
Get the cut type.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode example isValid
Returns whether the current XPRBcut object is valid.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode example print
Prints the current XPRBcut object.
Public methodCode example reset
Resets the current XPRBcut object.
Public methodCode example setID
Set the cut ID value. This method changes the ID value of a previously defined cut. The cut ID can be chosen freely by the user to identify or classify (groups of) cuts.
Public methodCode example setTerm(Double)
Set the constant term (= RHS value) of a cut. The RHS of the cut is set to the given constant.
Public methodCode example setTerm(XPRBvar)
Set a cut term. This method sets the coefficient of a given variable to 1.0.
Public methodCode example setTerm(Double, XPRBvar)
Set a cut term. This method sets the coefficient of a given variable to the value val.
Public methodCode example setTerm(XPRBvar, Double)
Set a cut term. This method sets the coefficient of a given variable to the value val.
Public methodCode example setType
Set the cut row type. This method changes the type of a previously defined cut to inequality or equation.
Public method ToString (Overrides ObjectToString.)
Top
See Also