Creating the model

The first step in our example is to create a model. We start with an empty model object:

    # Create a new model
    m = gp.Model("matrix1")

This function takes the desired model name as its argument.