Initializing help system before first use

XPRBcut Class

Methods for initialisation and handling of XPRBcut objects.
Inheritance Hierarchy
SystemObject
   BCLXPRBcut

Namespace:  BCL
Assembly: xprbdn (in xprbdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public class XPRBcut
VB
Public Class XPRBcut

The XPRBcut type exposes the following members.

Constructors
  Name Description
Public method XPRBcut Initializes a new instance of the XPRBcut class
Obsolete
Public method XPRBcut(IntPtr) Initializes a new instance of the XPRBcut class
Obsolete
Public method XPRBcut(XPRBprob) Initializes a new instance of the XPRBcut class
Public method XPRBcut(IntPtr, XPRBprob) Initializes a new instance of the XPRBcut class
Public method XPRBcut(IntPtr, XPRBrelation) Initializes a new instance of the XPRBcut class
Obsolete
Public method XPRBcut(IntPtr, XPRBrelation, XPRBprob) Initializes a new instance of the XPRBcut class
Top
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 try to free resources and perform other cleanup operations before it 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 the default hash function.
(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
Operators
  Name Description
Public operatorStatic memberCode example Addition(XPRBcut, XPRBexpr) Add an XPRBexpr to an XPRBcut.
Public operatorStatic memberCode example Subtraction(XPRBcut, XPRBexpr) Subtract an XPRBexpr from an XPRBcut.
Top
Remarks
All terms in a cut must belong to the same problem as the cut itself.
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.