Skip to content

A Gurobi implementation that tracks upper and lower bounds for any Mixed-Integer Programming (MIP) problem using callbacks. Includes visualization with Matplotlib.

License

Notifications You must be signed in to change notification settings

RenatoMaynard/Gurobi-Mip-Bounds-Tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Gurobi MIP Bounds Tracking with Callback

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.

πŸ“Š Features

  • βœ… 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.

πŸ“š Reference

The callback mechanism for collecting bounds is inspired by code found in the Gurobi Community Forum:
πŸ”— Working with the optimization log


πŸ™ Acknowledgments

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.


πŸ“œ License

The original code and models authored in this repository are released under the MIT License.
⚠️ Note: Portions adapted from Gurobi's examples are subject to Gurobi's End User License Agreement (EULA).

About

A Gurobi implementation that tracks upper and lower bounds for any Mixed-Integer Programming (MIP) problem using callbacks. Includes visualization with Matplotlib.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published