Jump-Start Your Optimization Discovery

Explore our modeling examples below, access them via GitHub, or download the entire collection. You can also check out examples for other programming languages, or dive into our functional code. MIP developers: Be sure to check out ticdat.

Search Examples
Difficulty Level
Business Need

Beginner

Curve Fitting

Try this Jupyter Notebook Modeling Example to learn how you can fit a function to a set of observations. We will formulate this regression problem as...

Beginner

Logic Programming – 3D Tic-Tac-Toe

Try this logic programming example to learn how to solve the problem of arranging X's and O's on a three-dimensional Tic-Tac-Toe board so as to...

Beginner

Combining Machine Learning and Optimization Modeling in Fantasy Basketball

Fantasy sports has turned into a mainstream activity over the last ten to twenty years with leagues now working with popular fantasy sports sites as...

Introductory

Introduction To Mathematical Optimization Modeling

Learn the key components in the formulation of mixed-integer programming (MIP) problems. You will learn how to use the Gurobi Optimizer to compute an...

Beginner

Cell Tower Coverage Problem

A simple covering problem that builds a network of cell towers to provide signal coverage to the largest number of people possible.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.

Search