Click or drag to resize

XPRBvar Methods

The XPRBvar type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberCode exampleEqualTo(XPRBterm, XPRBvar) Create an XPRBrelation from an XPRBvar and an XPRBterm. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBvar, XPRBterm) Create an XPRBrelation from an XPRBvar and an XPRBterm. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBvar, XPRBvar) Create an XPRBrelation from two XPRBvars. Equal to.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodCode examplefix Fix the variable bounds.
Public methodCode examplegetColNum Retrieve the variable column number.
Public methodCode examplegetCRef Retrieves the variable reference.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodCode examplegetLB Retrieve the lower variable bound.
Public methodCode examplegetLim Retrieve the variable's integer limit for a partial integer or semi-continuous variable.
Public methodCode examplegetLim(Double) Retrieve the variable's integer limit for a partial integer or semi-continuous variable.
Public methodCode examplegetName Retrieve the variable name.
Public methodCode examplegetRCost Retrieve the variable's reduced cost value.
Public methodCode examplegetRNG Compute (if required) ranges and return a column range.
Public methodCode examplegetSol Retrieve the variable solution.
Public methodCode examplegetType Retrieve the variable type.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodCode examplegetUB Retrieve the upper variable bound.
Public methodCode examplegetvarRef Retrieves the variable reference.
Public methodStatic memberCode exampleGtEq(XPRBterm, XPRBvar) Create an XPRBrelation from an XPRBvar and an XPRBterm. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBvar, XPRBterm) Create an XPRBrelation from an XPRBvar and an XPRBterm. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBvar, XPRBvar) Create an XPRBrelation from two XPRBvars. Greater than or equal to.
Public methodCode exampleisValid Returns whether the variable reference is valid.
Public methodStatic memberCode exampleLeEq(XPRBterm, XPRBvar) Create an XPRBrelation from an XPRBvar and an XPRBterm. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBvar, XPRBterm) Create an XPRBrelation from an XPRBvar and an XPRBterm. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBvar, XPRBvar) Create an XPRBrelation from two XPRBvars. Less than or equal to.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodCode exampleprint Prints the XPRBvar variable information.
Public methodCode examplesetDir(Int32) Set a variable directive (value zero).
Public methodCode examplesetDir(Int32, Double) Set a variable directive.
Public methodCode examplesetLB Sets the variable lower bound.
Public methodCode examplesetLim Sets the variable integer limit.
Public methodCode examplesetType Sets the variable type.
Public methodCode examplesetUB Sets the variable upper bound.
Public methodCode examplesqr Find the square of the variable.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also