Next:
Reporting results - attributes
Up:
Example mip1.py
Previous:
Adding constraints to the
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.).
Next:
Reporting results - attributes
Up:
Example mip1.py
Previous:
Adding constraints to the