Returns the branch priority for a variable.

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

Syntax

C#
public virtual int GetPriority(
	INumVar var
)
Visual Basic
Public Overridable Function GetPriority ( _
	var As INumVar _
) As Integer

Parameters

var
Type: ILOG.Concert..::..INumVar
The variable whose branch priority is being queried.

Return Value

The branch priority for the variable var. The value 0 (zero) specifies the Cplex default.

See Also