Skip to main content

Python tools for Modeling and Solving Mixed-Integer Programs

Project description

Python MIP (Mixed-Integer Linear Programming) Tools

Python MIP is a collection of Python tools for the modelling and solution of Mixed-Integer Linear programs (MIPs). MIP syntax was inspired by Pulp and the Gurobi Python API. Porting Pulp and Gurobi models should be quite easy.

Some of the main features of MIP are:

  • high level modelling: write your MIP models in Python as easily as in high level languages such as MathProg: with operator overloading you can easily write linear expressions in Python;

  • multi solver: works with different MIP solvers; right now the commercial Gurobi solver and the open source COIN-OR Branch-&-Cut CBC solver are supported;

  • fast: the Python MIP package calls directly the native dynamic loadable library of the installed solver using the modern python ctypes module; models are efficiently stored and optimized by the solver and MIP transparently handles all communication with your Python code;

  • completely written in modern statically typed Python 3;

  • solution pool: query the elite set of solutions found during the search;

  • mipstart: use a problem dependent heuristic to generate initial feasible solutions for the MIP search;

  • cut generation: write your cut generator in python and integrate it into the Branch-and-Cut search (currently only for Gurobi).

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mip-1.0.20.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mip-1.0.20-py3-none-any.whl (6.5 MB view details)

Uploaded Python 3

File details

Details for the file mip-1.0.20.tar.gz.

File metadata

  • Download URL: mip-1.0.20.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for mip-1.0.20.tar.gz
Algorithm Hash digest
SHA256 3b85ab9409669b2fbc9baae7a95268376a123105caa842669aae496fc7af2e62
MD5 247a6362848bc059fb6ee09d40047a84
BLAKE2b-256 9f217acb5c02846d2bfaca3fea9079d1b738c63b62f1e558795ed024bcbf2033

See more details on using hashes here.

File details

Details for the file mip-1.0.20-py3-none-any.whl.

File metadata

  • Download URL: mip-1.0.20-py3-none-any.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for mip-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 269880ae28536c97d6fa42fdc68fbc26e1a53e2557ad914010fab8cdde7df94a
MD5 444808fc8a2dbff9efbc1bfb76517e87
BLAKE2b-256 6d8df09cb8bddacca899388a5d782651a2a471756a14675b4c9d1ded2a18ea84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page