This repository provides a Gurobi Code for tracking upper and lower bounds during Mixed-Integer Programming (MIP) optimization. Using Gurobi's callback, it collects bound information and plots their evolution in real-time.
- β Tracks upper and lower bounds for any MIP problem.
- β Uses Gurobi's callback function to collect bound updates during optimization.
- β Visualizes the bound progression with Matplotlib.
This is useful for:
- Benchmarking solution convergence over time.
- Understanding how Gurobi improves bounds during solving.
- Comparing different MIP models or parameters.
The callback mechanism for collecting bounds is inspired by code found in the Gurobi Community Forum:
π Working with the optimization log
Some code snippets used in this repository are adapted from examples provided by Gurobi Optimization, LLC (https://www.gurobi.com), and are used here for educational and research purposes under their terms of use.
The original code and models authored in this repository are released under the MIT License.