Model ( name="", env=defaultEnv )
name: Name of new model.
env: Environment in which to create the model. Creating your environment (using the Env constructor) gives you more control over Gurobi licensing, but it can make your program more complex. Use the default environment unless you know that you need to control your own environments.
New model object. Model initially contains no variables or constraints.
m = Model("NewModel") x0 = m.addVar() env = Env("my.log") m2 = Model("NewModel2", env)