Metadata-Version: 2.1
Name: penaltymodel-mip
Version: 0.2.2
Summary: Generates penalty models using Google Optimization Tools' Mixed-Integer Programming capability.
Home-page: https://github.com/dwavesystems/penaltymodel
Author: D-Wave Systems Inc.
Author-email: acondello@dwavesys.com
License: Apache 2.0
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Requires-Dist: dimod (<0.10.0,>=0.6.0)
Requires-Dist: networkx (<3.0,>=2.0)
Requires-Dist: ortools (<8.0.0,>=6.6.4659)
Requires-Dist: penaltymodel (<0.17.0,>=0.16.0)

.. image:: https://img.shields.io/pypi/v/penaltymodel-mip.svg
    :target: https://pypi.python.org/pypi/penaltymodel-mip

Penalty Model - Mixed-Integer (Linear) Programming
==================================================

.. index-start-marker

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
:code:`get_penalty_model` function.

.. _Google Optimization Tools : https://developers.google.com/optimization/

.. index-end-marker

Installation
------------

.. installation-start-marker

To install:

.. code-block:: bash

    pip install penaltymodel-mip

To build from souce:

.. code-block:: bash

    cd penaltymodel_mip
    pip install -r requirements.txt
    python setup.py install

.. installation-end-marker


License
-------

Released under the Apache License 2.0


