Initializing help system before first use

Inequality.Definition Class

Class representing a <=, >=, ==, or ranged constraint. Instances of this class describe a constraint that has not yet been added but can be added using XpressProblem.AddConstraint() or XpressProblem.AddConstraint(). Users should usually not have to deal with this class explicitly.
Inheritance Hierarchy
System.Object
   Optimizer.Objects.ConstraintDefinition < Inequality >
     Optimizer.Objects.Inequality.Definition

Namespace:   Optimizer.Objects
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.01
Syntax
C#
public sealed class Definition : ConstraintDefinition<Inequality>

The Inequality.Definition type exposes the following members.

Constructors
  Name Description
Public method Inequality.Definition(Double, RowType, Expression, String)
Create a new inequality with constant left-hand side.
Public method Inequality.Definition(Expression, RowType, Expression, String)
Create a new inequality constraint.
Public method Inequality.Definition(Expression, RowType, Double, String)
Create a new inequality with constant right-hand side.
Public method Inequality.Definition(Expression, Double, Double, String)
Create a new inequality that constrains an expression to be within bounds.
Top
Properties
  Name Description
Public property Lhs
Left-hand side of the inequality.
Public property Name
The name of this constraint.
(Inherited from ConstraintDefinition<C>.)
Public property Range
Lower and upper bound for range constraint. This is null unless the instance represents a range constraint.
Public property Rhs
Right-hand side of the inequality. This is null if the instance represents a range constraint.
Public property Type
Sense of the inequality.
Top
Methods
  Name Description
Public method Create
Create this constraint using creator.
(Inherited from ConstraintDefinition<C>.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetName
Get the name of this constraint.
(Inherited from ConstraintDefinition<C>.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method SetConstraintName
Set the name of this constraint.
(Inherited from ConstraintDefinition<C>.)
Public method SetName
Set the name of the constraint. This is the same as ConstraintDefinition.SetConstraintName(string) but with a different return type.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also

© 2001-2024 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.