python-mip
python-mip copied to clipboard
Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
I installed [coinor-cbc](https://packages.debian.org/buster/coinor-cbc) to my `armhf` system, and did this: ``` export PMIP_CBC_LIBRARY="/usr/lib/arm-linux-gnueabihf/libCbcSolver.so.3.9.9" export LD_LIBRARY_PATH="/usr/lib/arm-linux-gnueabihf/" ``` as established [here](https://docs.python-mip.com/en/latest/install.html#using-your-own-cbc-binaries-optional). Then, when I try to execute it on Python's console, I...
Dear MIP Team, thank you for the package! I am familiarizing myself with it and unfortunately I was not able to find the answer in the documentation. Is it possible...
At the moment it is applied whenever the solution is integer. So unnecessary calls for the same solution are observed.
**Describe the bug** I create a small MIP model, using CBC. I also create a `ConstrsGenerator` and add it via `model.lazy_constrs_generator`. When I call `model.optimize()`, Python crashes with a segmentation...
`import mip, time;` `mip.version` '1.13.0' `model = mip.Model()` `x = model.add_var(name='x', var_type=mip.INTEGER);` `y = model.add_var(name='y', var_type=mip.INTEGER);` `y.ub = 2` ` ` `model += ( 2*x + 3*y
**Describe the bug** I am using the Model.read function as described in the [Quick Start guide](https://python-mip.readthedocs.io/en/latest/quickstart.html) under "Saving, Loading and Checking Model Properties." The description says that it works to...
**Describe the bug** `python-mip` doesn't come with aarch64 libs (eg for an M1 mac) (also see #199), so the only way to run it is by building cbc manually. Unfortunately,...
Hi, I'd like to suggest an elastic constraints feature, like the one pulp has: https://pythonhosted.org/PuLP/pulp.html#elastic-constraints Cheers, Nick
The CBC libraries in the git repository are pre-built. This makes it hard to debug any issues occuring within the library since we don't have the source. It also makes...
Since the CBS binary is distributed with the framework it is unclear exactly what version of CBC, CLP, CoinUtils etc is being used. I am assuming the master branch? Would...