GRBModel()

Constructor for GRBModel. The simplest version creates an empty model. You can then call addVar and addConstr to populate the model with variables and constraints. The more complex constructors can read a model from a file, or make a copy of an existing model.

GRBModel GRBModel ( const GRBEnv& env )

GRBModel GRBModel ( const GRBEnv& env,
    const string& filename )

GRBModel GRBModel ( const GRBModel& model )