coin-or/python-mip
소개
Python-MIP: 혼합 정수 선형 계획 문제의 모델링과 해결을 위한 Python 도구 모음입니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPython 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.8 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
관련 프로젝트 살펴보기
불러오는 중…