Initializing help system before first use

QPair Class

Pair of variables in a quadratic expression. Instances of this class are used to represent pairs of variables in quadratic expressions. Variables in this instance are always ordered according to a canonicaly ordering, so (v1,v2) and (v2,v1) will map to the same representation. Instances can represent linear terms as well. In that case var2 is invalid and .IsLinear() returns true. Instances can also represent constant terms. In that case var1 and var2 are both invalid and .IsConstant() returns true.
Inheritance Hierarchy

Namespace:   Optimizer.Objects
Assembly:  xprsdn (in xprsdn.dll) Version: 43.01.03
Syntax
C#
public sealed class QPair : ComparableMapKey2<Variable, Variable>

The QPair type exposes the following members.

Properties
  Name Description
Public property Key1
Key number 1.
(Inherited from MapKey2K1, K2.)
Public property Key2
Key number 2.
(Inherited from MapKey2K1, K2.)
Public property Var1
Public property Var2
Top
Methods
  Name Description
Public method CompareTo (Inherited from ComparableMapKey2K1, K2.)
Public method Equals (Inherited from MapKey2K1, K2.)
Public method GetHashCode (Inherited from MapKey2K1, K2.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsConstant
Test whether this pair represents a constant term.
Public method IsLinear
Test whether this pair represents a linear term.
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.