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
SystemObject
   Optimizer.ObjectsConstraintDefinition Inequality
     Optimizer.ObjectsInequalityDefinition

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

The InequalityDefinition type exposes the following members.

Constructors
  Name Description
Public method InequalityDefinition(Double, RowType, Expression, String) Create a new inequality with constant left-hand side.
Public method InequalityDefinition(Expression, RowType, Expression, String) Create a new inequality constraint.
Public method InequalityDefinition(Expression, RowType, Double, String) Create a new inequality with constant right-hand side.
Public method InequalityDefinition(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 ConstraintDefinitionC)
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 ConstraintDefinitionC)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetName Get the name of this constraint.
(Inherited from ConstraintDefinitionC)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method SetConstraintName Set the name of this constraint.
(Inherited from ConstraintDefinitionC)
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-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.