GeneralConstraint Class
Namespace: Optimizer.Objects
Assembly: xprsdn (in xprsdn.dll) Version: 44.01.01
public sealed class GeneralConstraint : IIndex, IComparable<GeneralConstraint>
The GeneralConstraint type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
Abs |
Create a definition for
resultant = Abs(variable).
|
![]() ![]() |
And |
Create a definition for
resultant = And(variables...).
|
![]() |
CompareTo |
Compares the current object with another object of the same type.
|
![]() |
Equals | (Overrides Object.Equals(Object).) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides Object.GetHashCode().) |
![]() |
GetIndex |
Get the index that this object has in the underlying model.
Attention: this is a very advanced function. Use it only if you know exactly what you are doing.
|
![]() |
GetIndexForProb |
Get the index stored in this object but raise an exception if the problem that created this object is not
prob.
|
![]() |
GetName |
Get the name of this object. Queries the problem instance that owns this object and returns the name from that instance.
|
![]() |
GetProblem |
Get the problem to which this element belongs.
|
![]() |
GetResultant |
Get the resultant for this constraint. Queries the
XpressProblem instance to which this constraint belongs returns the resultant from that instance.
|
![]() |
GetSerial |
Get the serial number of this object.
|
![]() |
GetType |
Get the type for this constraint. Queries the
XpressProblem instance to which this constraint belongs returns the type from that instance.
|
![]() |
GetValues |
Get the values in this constraint. Queries the
XpressProblem instance to which this constraint belongs returns the values from that instance.
|
![]() |
GetVariables |
Get the variables in this constraint. Queries the
XpressProblem instance to which this constraint belongs returns the variables from that instance.
|
![]() |
MarkDeleted | |
![]() ![]() |
Max(Variable, Variable) |
Create a definition for
resultant = Max(variables...).
|
![]() ![]() |
Max(Variable, Variable, Double) |
Create a definition for
resultant = Max(variables, values...).
|
![]() ![]() |
Min(Variable, Variable) |
Create a definition for
resultant = Min(variables...).
|
![]() ![]() |
Min(Variable, Variable, Double) |
Create a definition for
resultant = Min(variables, values...).
|
![]() ![]() |
Or |
Create a definition for
resultant = Or(variables...).
|
![]() |
SetName |
Set the name of this general constraint. Sets the name of this general constraint in the problem instance that owns the object.
|
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateIndex |
Add
delta to this object's index.
|
Reference
© 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.