Click or drag to resize

XPRBexpr Class

Methods for initialisation and handling of XPRBexpr objects.
Inheritance Hierarchy
SystemObject
  BCLXPRBexpr
    BCLXPRBlinExp
    BCLXPRBquadExp
    BCLXPRBrelation

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public class XPRBexpr : IDisposable

The XPRBexpr type exposes the following members.

Constructors
 NameDescription
Public methodXPRBexprInitializes a new instance of the XPRBexpr class
Public methodXPRBexpr(Double)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(Int32)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(IntPtr)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(XPRBexpr)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(XPRBterm)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(XPRBvar)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(Double, XPRBvar)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(XPRBterm, XPRBterm)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(XPRBvar, XPRBterm)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(XPRBvar, Double)Initializes a new instance of the XPRBexpr class
Public methodXPRBexpr(Double, XPRBvar, XPRBvar)Initializes a new instance of the XPRBexpr class
Top
Methods
 NameDescription
Public methodCode exampleadd(Double) Adds a numeric value to the XPRB expression.
Public methodCode exampleadd(XPRBexpr) Adds another XPRB expression to the current XPRB expression.
Public methodCode exampleadd(XPRBterm) Adds an XPRBterm term to the XPRB expression.
Public methodCode exampleadd(XPRBvar) Adds an XPRBvar variable to the XPRB expression.
Public methodStatic memberCode exampleadd(XPRBexpr, XPRBexpr) Adds two XPRB expressions.
Public methodStatic memberCode exampleadd(XPRBexpr, XPRBterm) Adds an XPRBterm to an XPRB expression.
Public methodStatic memberCode exampleadd(XPRBexpr, XPRBvar) Adds an XPRBvar to an XPRB expression.
Public methodStatic memberCode exampleadd(XPRBexpr, Double) Adds a double to an XPRB expression.
Public methodCode exampleaddTerm(Double) Add a term involving a sole double to the XPRB expression.
Public methodCode exampleaddTerm(XPRBterm) Add a term involving an XPRBter, to the XPRB expression/
Public methodCode exampleaddTerm(XPRBvar) Add a term involving a sole XPRBvar to the XPRB expression.
Public methodCode exampleaddTerm(Double, XPRBvar) Add a term involving an XPRBvar and double to the XPRB expression.
Public methodCode exampleaddTerm(XPRBvar, Double) Add a term involving an XPRBvar and double to the XPRB expression.
Public methodCode exampleaddTerm(Double, XPRBvar, XPRBvar) Add a term involving two XPRBvars and a double to the XPRB expression.
Public methodCode exampleaddTerm(XPRBvar, XPRBvar, Double) Add a term involving two XPRBvars and a double to the XPRB expression.
Public methodassign Assign an XPRB expression to the current XPRBexpr.
Public methodCode exampledelTerm(XPRBvar) Removes terms of a specified XPRbvar from an XPRB expression.
Public methodCode exampledelTerm(XPRBvar, XPRBvar) Delete a term involving two XPRBvars from the XPRB expression.
Public methodDisposeReleases all resources used by the XPRBexpr
Protected methodDispose(Boolean)Releases the unmanaged resources used by the XPRBexpr and optionally releases the managed resources
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberCode exampleEqualTo(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Equal to.
Public methodStatic memberCode exampleEqualTo(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Equal to.
Protected methodFinalize
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodCode examplegetSol Evaluates the XPRB expression.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberCode exampleGtEq(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Greater than or equal to.
Public methodStatic memberCode exampleGtEq(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Greater than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Less than or equal to.
Public methodStatic memberCode exampleLeEq(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Less than or equal to.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodCode examplemul(Double) Multiplies the XPRB expression by a coefficient d.
Public methodmul(XPRBexpr) Multiply the XPRBexpr by another XPRBexpr.
Public methodCode examplemul(Double, XPRBexpr) Multiplies an XPRB expression by a coefficient d.
Public methodCode examplemul(XPRBexpr, XPRBexpr) Multiplies one XPRB expression by another.
Public methodCode examplemul(XPRBexpr, Double) Multiplies an XPRB expression by a coefficient d.
Public methodCode examplemul(XPRBterm, XPRBterm) Multiply two XPRBterms together to create an XPRBexpr.
Public methodCode exampleneg Negates the XPRB expression.
Public methodStatic memberCode exampleneg(XPRBexpr) Negates the XPRB expression.
Public methodprint Print the XPRBexpr.
Public methodCode examplesetTerm(Double) Adds a new numeric term to an XPRB expression.
Public methodCode examplesetTerm(Double, XPRBvar) Adds a new term to an XPRB expression.
Public methodCode examplesetTerm(XPRBvar, Double) Adds a new term to an XPRB expression.
Public methodCode examplesetTerm(Double, XPRBvar, XPRBvar) Set a new term in the XPRB expression.
Public methodCode examplesetTerm(XPRBvar, XPRBvar, Double) Set a new term in the XPRB expression.
Public methodsqr 
Public methodCode examplesqr(XPRBexpr) Square an XPRBexpr.
Public methodCode examplesqr(XPRBterm) Square an XPRBterm to create an XPRBexpr.
Public methodCode examplesqr(XPRBvar) Square an XPRBvar variable to create an XPRBexpr.
Public methodToString Return the string representation of the expression.
(Overrides ObjectToString)
Top
Operators
 NameDescription
Public operatorStatic memberCode exampleAddition(Double, XPRBexpr) Add a double to an XPRBexpr.
Public operatorStatic memberCode exampleAddition(XPRBexpr, XPRBexpr) Add one XPRBexpr to another.
Public operatorStatic memberCode exampleAddition(XPRBexpr, XPRBterm) Add an XPRBterm to an XPRBexpr.
Public operatorStatic memberCode exampleAddition(XPRBexpr, XPRBvar) Add an XPRBvar to an XPRBexpr.
Public operatorStatic memberCode exampleAddition(XPRBexpr, Double) Add a double to an XPRBexpr.
Public operatorStatic memberCode exampleAddition(XPRBterm, XPRBexpr) Add an XPRBterm to an XPRBexpr.
Public operatorStatic memberCode exampleAddition(XPRBvar, XPRBexpr) Add an XPRBvar to an XPRBexpr.
Public operatorStatic memberCode exampleEquality(Double, XPRBexpr) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode exampleEquality(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs.
Public operatorStatic memberCode exampleEquality(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm.
Public operatorStatic memberCode exampleEquality(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode exampleEquality(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode exampleEquality(XPRBterm, XPRBexpr) Create an XPRBrelation from an XPRBterm and an XPRBexpr.
Public operatorStatic memberCode exampleEquality(XPRBvar, XPRBexpr) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode exampleGreaterThanOrEqual(Double, XPRBexpr) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode exampleGreaterThanOrEqual(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs.
Public operatorStatic memberCode exampleGreaterThanOrEqual(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm.
Public operatorStatic memberCode exampleGreaterThanOrEqual(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode exampleGreaterThanOrEqual(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode exampleGreaterThanOrEqual(XPRBterm, XPRBexpr) Create an XPRBrelation from an XPRBterm and an XPRBexpr
Public operatorStatic memberCode exampleGreaterThanOrEqual(XPRBvar, XPRBexpr) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberInequality(Double, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberInequality(XPRBexpr, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberInequality(XPRBexpr, XPRBterm) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberInequality(XPRBexpr, XPRBvar) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberInequality(XPRBexpr, Double) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberInequality(XPRBterm, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberInequality(XPRBvar, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberCode exampleLessThanOrEqual(Double, XPRBexpr) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode exampleLessThanOrEqual(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs.
Public operatorStatic memberCode exampleLessThanOrEqual(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm.
Public operatorStatic memberCode exampleLessThanOrEqual(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode exampleLessThanOrEqual(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode exampleLessThanOrEqual(XPRBterm, XPRBexpr) Create an XPRBrelation from an XPRBterm and an XPRBexpr.
Public operatorStatic memberCode exampleLessThanOrEqual(XPRBvar, XPRBexpr) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode exampleMultiply(Double, XPRBexpr) Multiply a double by an XPRBexpr.
Public operatorStatic memberCode exampleMultiply(XPRBexpr, XPRBexpr) Multiply an XPRBexpr by another XPRBexpr.
Public operatorStatic memberCode exampleMultiply(XPRBexpr, XPRBterm) Multiply an XPRBexpr and an XPRBterm
Public operatorStatic memberCode exampleMultiply(XPRBexpr, Double) Multiply an XPRBexpr by a double.
Public operatorStatic memberCode exampleMultiply(XPRBterm, XPRBexpr) Multiply an XPRBexpr and an XPRBterm
Public operatorStatic memberCode exampleSubtraction(Double, XPRBexpr) Subtract an XPRBexpr from a double.
Public operatorStatic memberCode exampleSubtraction(XPRBexpr, XPRBexpr) Subtract one XPRBexpr from another.
Public operatorStatic memberCode exampleSubtraction(XPRBexpr, XPRBterm) Subtract an XPRBterm from an XPRBexpr.
Public operatorStatic memberCode exampleSubtraction(XPRBexpr, XPRBvar) Subtract an XPRBvar from an XPRBexpr.
Public operatorStatic memberCode exampleSubtraction(XPRBexpr, Double) Subtract a double from an XPRBexpr.
Public operatorStatic memberCode exampleSubtraction(XPRBterm, XPRBexpr) Subtract an XPRBexpr from an XPRBterm.
Public operatorStatic memberCode exampleSubtraction(XPRBvar, XPRBexpr) Subtract an XPRBexpr from an XPRBvar.
Public operatorStatic memberCode exampleUnaryNegation(XPRBexpr) Negate an XPRBexpr.
Top
Fields
 NameDescription
Public fieldexpr 
Top
Remarks
XPRBprob objects should only be instantiated and used while a BCL session has been established via XPRB.init() All variables in an expression must belong to the same problem.
See Also

Reference

BCL Namespace