mip 1.15.0


pip install mip

  Latest version

Released: Jan 04, 2023


Meta
Author: T.A.M. Toffolo, H.G. Santos
Maintainer: S. Heger
Requires Python: <3.12,>=3.7

Classifiers

Development Status
  • 5 - Production/Stable

License
  • OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Scientific/Engineering :: Mathematics

Python MIP (Mixed-Integer Linear Programming) Tools

Package website: http://python-mip.com

Python MIP is a collection of Python tools for the modeling and solution of Mixed-Integer Linear programs (MIPs). MIP syntax was inspired by Pulp. Just like CyLP it also provides access to advanced solver features like cut generation, lazy constraints, MIPstarts and solution Pools. Porting Pulp and Gurobi models should be quite easy.

Some of the main features of MIP are:

  • high level modeling: write your MIP models in Python as easily as in high level languages such as MathProg: operator overloading makes it easy to write linear expressions in Python;

  • full featured:

    • cut generators and lazy constraints: work with strong formulations with a large number of constraints by generating only the required inequalities during the branch and cut search;
    • 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.
  • fast: the Python MIP package calls directly the native dynamic loadable library of the installed solver using the modern python CFFI module; models are efficiently stored and optimized by the solver and MIP transparently handles all communication with your Python code; it is also compatible with the Pypy just in time compiler, meaning that you can have a much better performance, up to 25 times faster for the creation of large MIPs, than the official Gurobi python interface which only runs on CPython;

  • multi solver: Python MIP was written to be deeply integrated with the C libraries of the open-source COIN-OR Branch-&-Cut CBC solver and the commercial solver Gurobi; all details of communicating with different solvers are handled by Python-MIP and you write only one solver independent code;

  • written in modern typed Python 3 (requires Python 3.6 or newer).

Examples

Many Python-MIP examples are documented at https://docs.python-mip.com/en/latest/examples.html

The code of these examples and additional ones (published in tutorials) can be downloaded at https://github.com/coin-or/python-mip/tree/master/examples

Documentation

The full Python-MIP documentation is available at https://docs.python-mip.com/en/latest/

A PDF version is also available: https://python-mip.readthedocs.io/_/downloads/en/latest/pdf/

Mailing list

Questions, suggestions and feature request can be posted at Discussions.

Build status

Github Actions Status Current version Current total of lines License

1.16rc0 Feb 18, 2024
1.15.0 Jan 04, 2023
1.14.2 Dec 22, 2022
1.14.1 Aug 30, 2022
1.14.0 Jun 17, 2022
1.13.0 Nov 22, 2020
1.12.0 Sep 12, 2020
1.11.0 Aug 05, 2020
1.10.0 Jul 22, 2020
1.9.4 Jul 21, 2020
1.9.3 Jun 17, 2020
1.9.2 Jun 11, 2020
1.9.1 May 31, 2020
1.9.0 May 22, 2020
1.8.2 May 06, 2020
1.8.1 Apr 17, 2020
1.8.0 Apr 13, 2020
1.7.3 Mar 21, 2020
1.7.2 Feb 21, 2020
1.7.1 Feb 20, 2020
1.7.0 Feb 18, 2020
1.6.8 Jan 23, 2020
1.6.7 Jan 20, 2020
1.6.6 Jan 02, 2020
1.6.5 Dec 28, 2019
1.6.4 Dec 17, 2019
1.6.3 Dec 12, 2019
1.6.2 Dec 03, 2019
1.6.1 Dec 02, 2019
1.6.0 Nov 30, 2019
1.5.3 Oct 23, 2019
1.5.2 Oct 16, 2019
1.5.1 Oct 05, 2019
1.5.0 Oct 01, 2019
1.4.2 Sep 08, 2019
1.4.1 Sep 07, 2019
1.4.0 Sep 06, 2019
1.3.15 Aug 21, 2019
1.3.14 Aug 21, 2019
1.3.13 Aug 20, 2019
1.3.12 Aug 18, 2019
1.3.11 Aug 15, 2019
1.3.10 Aug 15, 2019
1.3.9 Aug 11, 2019
1.3.8 Aug 07, 2019
1.3.7 Aug 07, 2019
1.3.6 Jul 31, 2019
1.3.5 Jul 25, 2019
1.3.4 Jul 24, 2019
1.3.3 Jul 10, 2019
1.3.2 Jul 03, 2019
1.3.1 Jun 18, 2019
1.3.0 Jun 15, 2019
1.2.0 Jun 04, 2019
1.1.2 May 26, 2019
1.1.1 May 18, 2019
1.1.0 May 17, 2019
1.0.29 Apr 12, 2019
1.0.28 Mar 29, 2019
1.0.27 Mar 28, 2019
1.0.26 Mar 25, 2019
1.0.25 Mar 20, 2019
1.0.24 Mar 17, 2019
1.0.23 Mar 01, 2019
1.0.22 Feb 26, 2019
1.0.21 Feb 14, 2019
1.0.20 Jan 25, 2019
1.0.19 Jan 25, 2019
1.0.18 Jan 25, 2019
1.0.16 Jan 11, 2019
1.0.15 Jan 01, 2019
1.0.14 Dec 05, 2018
1.0.13 Dec 04, 2018
1.0.12 Dec 04, 2018
1.0.11 Dec 04, 2018
1.0.10 Dec 04, 2018
1.0.9 Dec 03, 2018
1.0.8 Nov 28, 2018
1.0.7 Nov 28, 2018
1.0.6 Nov 28, 2018
1.0.5 Nov 28, 2018
1.0.4 Nov 28, 2018
1.0.3 Nov 28, 2018
1.0.2 Nov 28, 2018
1.0.1 Nov 28, 2018
1.0.0 Nov 28, 2018

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
cffi (==1.15.*)