coefficient

Return

the value of the coefficient for the variable or 0.0 if the variable does not appear in the equation

Parameters

name

the name of the variable within the linear constraint