This class contains symbolic names to identify measures of the quality
of a solution.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public abstract class QualityType |
| Visual Basic |
|---|
Public MustInherit Class QualityType |
Remarks
These measures can be queried from the method
Cplex.GetQuality.
These solution quality measures pertain either to
characteristics of the computed solution or to the
accuracy measures of the computed solution.
When the name of the solution quality measure begins with
Max, that measure identifies a constraint or a variable associated
with the requested solution quality measure. For example, if you pass
the solution quality measure MaxPi to the method
Cplex.GetQuality, the result is an instance of
IRange with the largest dual value (that is, a
characteristic of the solution) among the constraints in the model
specified by the Cplex object. Similarly, the solution
quality measure MaxIntInfeas causes the method
Cplex.GetQuality to return an instance of
INumVar with the largest integrality violation
(that is, a measure of accuracy) in the computed solution.
For these solution quality measures, the variable or
range returned is the first variable or range that attains the
maximal associated quality value.
Inheritance Hierarchy
System..::..Object
ILOG.CPLEX..::..Cplex..::..QualityType
ILOG.CPLEX..::..Cplex..::..QualityType