Gets the unbounded ray for Cplex.Callback.Context.Id.Candidate.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public abstract ILinearNumExpr GetCandidateRay() |
| Visual Basic |
|---|
Public MustOverride Function GetCandidateRay As ILinearNumExpr |
Return Value
An expression representing the ray. Every non-zero coefficient in the ray has the respective non-zero coefficient in the return expression.
Remarks
This method returns the unbounded ray as a sparse expression.
This method can be invoked only from Cplex.Callback.Context.Id.Candidate and if Cplex.Callback.Context.IsCandidateRay() returns true; it throws an exception when invoked from another context.
Throws ILOG.Concert.Exception if any error occurs during the query.