Documentation

Optimizing the model

Now that the model has been built, the next step is to optimize it:


    # Optimize model
    m.optimize()

This routine performs the optimization and populates several internal model attributes (including the status of the optimization, the solution, etc.).