Returns the diverging variable or constraint from a model found infeasible by the primal simplex algorithm.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual ICopyable GetDiverging()
Visual Basic
Public Overridable Function GetDiverging As ICopyable

Remarks

This method returns the diverging variable or constraint, in a case where the primal simplex algorithm has determined the problem to be infeasible. The returned extractable is either an instance of INumVar or an instance of IConstraint extracted to the invoking Cplex optimizer. It is of type INumVar if the diverging column corresponds to a variable, or of type IConstraint if the diverging column corresponds to the slack variable of a constraint.

See Also