• Stars
    star
    624
  • Rank 71,995 (Top 2 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Gurobi modeling examples

Gurobi modeling examples

Introduction:

Target audience:

Data scientists, engineers, computer scientists, economists, and in general, professionals with a background in mathematical modeling and a basic knowledge of Python.

Goals of modeling examples:

  • Illustrate the broad applicability of mathematical optimization.
  • Show how to build mathematical optimization models.

These modeling examples are coded using the Gurobi Python API and distributed as Jupyter Notebooks.

These modeling examples illustrate important capabilities of the Gurobi Python API, including adding decision variables, building linear expressions, adding constraints, and adding an objective function. They touch on more advanced features such as generalized constraints, piecewise-linear functions, and multi-objective hierarchical optimization. They also illustrate common constraint types such as “allocation constraints”, “balance constraints”, “sequencing constraints”, “precedence constraints”, and others.

Index of modeling examples

These modeling examples are distributed under the Apache 2.0 license, (c) copyright 2019 Gurobi Optimization, LLC

More Repositories

1

gurobi-machinelearning

Formulate trained predictors in Gurobi models
Python
208
star
2

gurobi-optimods

Data-driven APIs for common optimization tasks
Python
141
star
3

gurobi-logtools

Extract and visualize information from Gurobi log files
Python
100
star
4

gurobipy-pandas

Convenience wrapper for building optimization models from pandas data
HTML
95
star
5

pres-mipheur

Presentation: Custom MIP Heuristics
Jupyter Notebook
31
star
6

gurobi-modelanalyzer

Tools to analyze models for numerical issues
Python
17
star
7

docker-optimizer

The gurobi/optimizer image provides a base Docker image for building applications using any of the supported APIs (C, C++, Java, .NET, Python, MATLAB, and R), as well as the command line tools such as gurobi_cl and the Python shell. If you are planning to only use the Python API, we recommend using the gurobi/python image instead.
Python
12
star
8

gurobipy-stubs

Python
10
star
9

docker-compute

The gurobi/compute image provides a Docker image ready to be deployed as a Compute Server node.
Dockerfile
9
star
10

docker-modeling-examples

The gurobi/modeling-example image includes a Jupyter Notebook that allows you to browse and execute any of the Python modeling examples.
Dockerfile
9
star
11

docker-manager

The gurobi/manager image provides a Docker image ready to be deployed as a Cluster Manager.
Dockerfile
6
star
12

docker-python-example

Demonstrate how to use the Gurobi Python image as a base image.
Python
5
star
13

docker-python

The gurobi/python image provides a base Docker image for applications that use the Gurobi Python interface.
Python
4
star
14

techtalks

Additional material for our TechTalks
Python
3
star