Generates penalty models using Google Optimization Tools' Mixed-Integer Programming capability.
Project description
Penalty Model - Mixed-Integer (Linear) Programming
Generates penalty models using Google Optimization Tools’ Mixed-Integer Programming capability. Serves as a factory and cache for penaltymodel.
On install, penaltymodel-mip registers an entry point that can be read by
penaltymodel. It will be used automatically by any project that uses penaltymodel’s
get_penalty_model
function.
Installation
To install:
pip install penaltymodel-mip
To build from souce:
cd penaltymodel_mip
pip install -r requirements.txt
python setup.py install
License
Released under the Apache License 2.0
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
Built Distribution
File details
Details for the file penaltymodel-mip-0.2.6.tar.gz
.
File metadata
- Download URL: penaltymodel-mip-0.2.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a974955b7ee2bf577ccc5103b110923c6d7879b2469b951ee7509ae327e06b6 |
|
MD5 | 0a7d4a5d6aaa060ae1d52629dfde034c |
|
BLAKE2b-256 | 8460df90c22b169c915b7e16ff4629fed851aeae04533bb4ddd8e58fdc1ebea4 |
File details
Details for the file penaltymodel_mip-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: penaltymodel_mip-0.2.6-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31725fa298510217f457addfcfb9764786f77e751f4a645a0af571a965ee5a63 |
|
MD5 | 233ea844baf8eca3f5829d615908e6b0 |
|
BLAKE2b-256 | c79bbbc554ae4f285afde2f861354ec4986c69f8937dcac8bb8a1b7191e593c6 |