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

Price Optimization with Competing Products

Create a predictive model to forecast sales based on product prices, then build an optimization model to identify the optimal product mix.

Introductory

Airline Planning After Flight Disruption

Weather events are a major threat to the airline industry. This notebook walks through the optimization problem of deciding which flights to operate...

Beginner

Tackling world hunger using mathematical optimization

Transporting food in a global transportation network is a challenging undertaking. In this notebook, we will build an optimization model to set up a...

Intermediate

Optimizing a power generation schedule

The electricity grid powers nearly every aspect of modern life — be it charging a phone, powering a factory, or mining Bitcoin. Managing the supply...

Introductory

Avocado Price Optimization

This example optimizes avocado prices to maximize revenue using a quadratic program. The relationship between price and demand is modeled using...

Advanced

Yield Management

See how mathematical optimization can make your revenues and profits soar in this example, where we'll show you how an airline can use the AI...

Advanced

Milk Collection

In this example, you'll discover how mathematical optimization can be leveraged to solve a capacitated vehicle routing problem: the Milk Collection...

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

Gurobi Optimization