Initializing help system before first use

ConstraintDefinition Class

Base class for all constraints. This is a mostly opaque class that usually is short-lived and only saves as data container during the creation of constraints. One thing that is common to all constraints in Xpress is that they have a name. This property is accesible from the GetName() and SetName() functions in this class.
Inheritance Hierarchy
SystemObject
   Optimizer.ObjectsConstraintDefinitionC
     More

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

Type Parameters

C

The ConstraintDefinitionC type exposes the following members.

Constructors
  Name Description
Protected method ConstraintDefinitionC Create a new constraint.
Top
Properties
  Name Description
Public property Name The name of this constraint.
Top
Methods
  Name Description
Protected method CheckModify Check whether this constraint can be modified. If the constraint was already extracted, it can no longer be modified and an exception will be raised.
Public method Create Create this constraint using creator.
Protected method CreateInternal Create this constraint using creator.
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 method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetName Get the name of this constraint.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method SetConstraintName Set the name of this constraint.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
See Also
Inheritance Hierarchy

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