Returns the dual slack vector of a quadratic constraint in a
quadratically constrained program (QCP).
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual ILinearNumExpr GetQCDSlack( IRange rng ) |
| Visual Basic |
|---|
Public Overridable Function GetQCDSlack ( _ rng As IRange _ ) As ILinearNumExpr |
Parameters
- rng
- Type: ILOG.Concert..::..IRange
The quadratic constraint for which the dual slack vector is queried.
Return Value
A linear expression describing the dual slack vector for rng.
Remarks
This method returns a linear expression representing the dual slack vector of the quadratic constraint rng. The returned expression contains only the nonzero coefficients of the dual slack vector.
UnknownObjectException The range constraint rng is not in the active model. ILOG.Concert.Exception If the method fails, an exception of type ILOG.Concert.Exception, or one of its derived classes, is thrown.