Initializing help system before first use

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: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public class XPRBexpr : IDisposable
VB
Public Class XPRBexpr
	Implements IDisposable

The XPRBexpr type exposes the following members.

Constructors
  Name Description
Public method XPRBexpr Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(Double) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(Int32) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(IntPtr) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(XPRBexpr) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(XPRBterm) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(XPRBvar) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(Double, XPRBvar) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(XPRBterm, XPRBterm) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(XPRBvar, XPRBterm) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(XPRBvar, Double) Initializes a new instance of the XPRBexpr class
Public method XPRBexpr(Double, XPRBvar, XPRBvar) Initializes a new instance of the XPRBexpr class
Top
Methods
  Name Description
Public methodCode example add(Double) Adds a numeric value to the XPRB expression.
Public methodCode example add(XPRBexpr) Adds another XPRB expression to the current XPRB expression.
Public methodCode example add(XPRBterm) Adds an XPRBterm term to the XPRB expression.
Public methodCode example add(XPRBvar) Adds an XPRBvar variable to the XPRB expression.
Public methodStatic memberCode example add(XPRBexpr, XPRBexpr) Adds two XPRB expressions.
Public methodStatic memberCode example add(XPRBexpr, XPRBterm) Adds an XPRBterm to an XPRB expression.
Public methodStatic memberCode example add(XPRBexpr, XPRBvar) Adds an XPRBvar to an XPRB expression.
Public methodStatic memberCode example add(XPRBexpr, Double) Adds a double to an XPRB expression.
Public methodCode example addTerm(Double) Add a term involving a sole double to the XPRB expression.
Public methodCode example addTerm(XPRBterm) Add a term involving an XPRBter, to the XPRB expression/
Public methodCode example addTerm(XPRBvar) Add a term involving a sole XPRBvar to the XPRB expression.
Public methodCode example addTerm(Double, XPRBvar) Add a term involving an XPRBvar and double to the XPRB expression.
Public methodCode example addTerm(XPRBvar, Double) Add a term involving an XPRBvar and double to the XPRB expression.
Public methodCode example addTerm(Double, XPRBvar, XPRBvar) Add a term involving two XPRBvars and a double to the XPRB expression.
Public methodCode example addTerm(XPRBvar, XPRBvar, Double) Add a term involving two XPRBvars and a double to the XPRB expression.
Public method assign Assign an XPRB expression to the current XPRBexpr.
Public methodCode example delTerm(XPRBvar) Removes terms of a specified XPRbvar from an XPRB expression.
Public methodCode example delTerm(XPRBvar, XPRBvar) Delete a term involving two XPRBvars from the XPRB expression.
Public method Dispose Releases all resources used by the XPRBexpr
Protected method Dispose(Boolean) Releases the unmanaged resources used by the XPRBexpr and optionally releases the managed resources
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberCode example EqualTo(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Equal to.
Public methodStatic memberCode example EqualTo(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Equal to.
Public methodStatic memberCode example EqualTo(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Equal to.
Public methodStatic memberCode example EqualTo(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Equal to.
Protected method Finalize
(Overrides ObjectFinalize)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public methodCode example getSol Evaluates the XPRB expression.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberCode example GtEq(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Greater than or equal to.
Public methodStatic memberCode example GtEq(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Greater than or equal to.
Public methodStatic memberCode example GtEq(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Greater than or equal to.
Public methodStatic memberCode example GtEq(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Greater than or equal to.
Public methodStatic memberCode example LeEq(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs. Less than or equal to.
Public methodStatic memberCode example LeEq(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm. Less than or equal to.
Public methodStatic memberCode example LeEq(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar. Less than or equal to.
Public methodStatic memberCode example LeEq(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double. Less than or equal to.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public methodCode example mul(Double) Multiplies the XPRB expression by a coefficient d.
Public method mul(XPRBexpr) Multiply the XPRBexpr by another XPRBexpr.
Public methodCode example mul(Double, XPRBexpr) Multiplies an XPRB expression by a coefficient d.
Public methodCode example mul(XPRBexpr, XPRBexpr) Multiplies one XPRB expression by another.
Public methodCode example mul(XPRBexpr, Double) Multiplies an XPRB expression by a coefficient d.
Public methodCode example mul(XPRBterm, XPRBterm) Multiply two XPRBterms together to create an XPRBexpr.
Public methodCode example neg Negates the XPRB expression.
Public methodStatic memberCode example neg(XPRBexpr) Negates the XPRB expression.
Public method print Print the XPRBexpr.
Public methodCode example setTerm(Double) Adds a new numeric term to an XPRB expression.
Public methodCode example setTerm(Double, XPRBvar) Adds a new term to an XPRB expression.
Public methodCode example setTerm(XPRBvar, Double) Adds a new term to an XPRB expression.
Public methodCode example setTerm(Double, XPRBvar, XPRBvar) Set a new term in the XPRB expression.
Public methodCode example setTerm(XPRBvar, XPRBvar, Double) Set a new term in the XPRB expression.
Public method sqr  
Public methodCode example sqr(XPRBexpr) Square an XPRBexpr.
Public methodCode example sqr(XPRBterm) Square an XPRBterm to create an XPRBexpr.
Public methodCode example sqr(XPRBvar) Square an XPRBvar variable to create an XPRBexpr.
Public method ToString Return the string representation of the expression.
(Overrides ObjectToString)
Top
Operators
  Name Description
Public operatorStatic memberCode example Addition(Double, XPRBexpr) Add a double to an XPRBexpr.
Public operatorStatic memberCode example Addition(XPRBexpr, XPRBexpr) Add one XPRBexpr to another.
Public operatorStatic memberCode example Addition(XPRBexpr, XPRBterm) Add an XPRBterm to an XPRBexpr.
Public operatorStatic memberCode example Addition(XPRBexpr, XPRBvar) Add an XPRBvar to an XPRBexpr.
Public operatorStatic memberCode example Addition(XPRBexpr, Double) Add a double to an XPRBexpr.
Public operatorStatic memberCode example Addition(XPRBterm, XPRBexpr) Add an XPRBterm to an XPRBexpr.
Public operatorStatic memberCode example Addition(XPRBvar, XPRBexpr) Add an XPRBvar to an XPRBexpr.
Public operatorStatic memberCode example Equality(Double, XPRBexpr) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode example Equality(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs.
Public operatorStatic memberCode example Equality(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm.
Public operatorStatic memberCode example Equality(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode example Equality(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode example Equality(XPRBterm, XPRBexpr) Create an XPRBrelation from an XPRBterm and an XPRBexpr.
Public operatorStatic memberCode example Equality(XPRBvar, XPRBexpr) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode example GreaterThanOrEqual(Double, XPRBexpr) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode example GreaterThanOrEqual(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs.
Public operatorStatic memberCode example GreaterThanOrEqual(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm.
Public operatorStatic memberCode example GreaterThanOrEqual(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode example GreaterThanOrEqual(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode example GreaterThanOrEqual(XPRBterm, XPRBexpr) Create an XPRBrelation from an XPRBterm and an XPRBexpr
Public operatorStatic memberCode example GreaterThanOrEqual(XPRBvar, XPRBexpr) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic member Inequality(Double, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic member Inequality(XPRBexpr, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic member Inequality(XPRBexpr, XPRBterm) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic member Inequality(XPRBexpr, XPRBvar) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic member Inequality(XPRBexpr, Double) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic member Inequality(XPRBterm, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic member Inequality(XPRBvar, XPRBexpr) != relation type is not supported by FICO Xpress. Attempting to use this will cause an UnsupportedRelationTypeException.
Public operatorStatic memberCode example LessThanOrEqual(Double, XPRBexpr) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode example LessThanOrEqual(XPRBexpr, XPRBexpr) Create an XPRBrelation from two XPRBexprs.
Public operatorStatic memberCode example LessThanOrEqual(XPRBexpr, XPRBterm) Create an XPRBrelation from an XPRBexpr and an XPRBterm.
Public operatorStatic memberCode example LessThanOrEqual(XPRBexpr, XPRBvar) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode example LessThanOrEqual(XPRBexpr, Double) Create an XPRBrelation from an XPRBexpr and a double.
Public operatorStatic memberCode example LessThanOrEqual(XPRBterm, XPRBexpr) Create an XPRBrelation from an XPRBterm and an XPRBexpr.
Public operatorStatic memberCode example LessThanOrEqual(XPRBvar, XPRBexpr) Create an XPRBrelation from an XPRBexpr and an XPRBvar.
Public operatorStatic memberCode example Multiply(Double, XPRBexpr) Multiply a double by an XPRBexpr.
Public operatorStatic memberCode example Multiply(XPRBexpr, XPRBexpr) Multiply an XPRBexpr by another XPRBexpr.
Public operatorStatic memberCode example Multiply(XPRBexpr, XPRBterm) Multiply an XPRBexpr and an XPRBterm
Public operatorStatic memberCode example Multiply(XPRBexpr, Double) Multiply an XPRBexpr by a double.
Public operatorStatic memberCode example Multiply(XPRBterm, XPRBexpr) Multiply an XPRBexpr and an XPRBterm
Public operatorStatic memberCode example Subtraction(Double, XPRBexpr) Subtract an XPRBexpr from a double.
Public operatorStatic memberCode example Subtraction(XPRBexpr, XPRBexpr) Subtract one XPRBexpr from another.
Public operatorStatic memberCode example Subtraction(XPRBexpr, XPRBterm) Subtract an XPRBterm from an XPRBexpr.
Public operatorStatic memberCode example Subtraction(XPRBexpr, XPRBvar) Subtract an XPRBvar from an XPRBexpr.
Public operatorStatic memberCode example Subtraction(XPRBexpr, Double) Subtract a double from an XPRBexpr.
Public operatorStatic memberCode example Subtraction(XPRBterm, XPRBexpr) Subtract an XPRBexpr from an XPRBterm.
Public operatorStatic memberCode example Subtraction(XPRBvar, XPRBexpr) Subtract an XPRBexpr from an XPRBvar.
Public operatorStatic memberCode example UnaryNegation(XPRBexpr) Negate an XPRBexpr.
Top
Fields
  Name Description
Public field expr  
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

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.