GRBModel.GetVarByName()


GRBModel.GetVarByName()

Retrieve a variable from its name. If multiple variable have the same name, this method chooses one arbitrarily.

GRBVar GetVarByName ( string name )

Arguments:

name: The name of the desired variable.

Return value:

The requested variable.