GRBModel.getVarByName()


GRBModel.getVarByName()

Retrieve a variable from its name. If multiple variables have the same name, this method chooses one arbitrarily. Returns null if no variable has that name.

GRBVar getVarByName ( String name )

Arguments:

name: The name of the desired variable.

Return value:

The requested variable.