Metadata-Version: 2.1
Name: penaltymodel-lp
Version: 0.1.6
Summary: Generates penalty models using SciPy's linear programming.
Home-page: https://github.com/dwavesystems/penaltymodel
Author: D-Wave Systems Inc.
Author-email: mwong@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.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6

.. image:: https://img.shields.io/pypi/v/penaltymodel-lp.svg
    :target: https://pypi.org/project/penaltymodel-lp

Penalty Model - Linear Programming
==================================================

.. index-start-marker

Generates penalty models using `scipy.optimize`_'s Linear Programming capability.
Serves as a factory and cache for penaltymodel.

On install, penaltymodel-lp 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.

.. _scipy.optimize: https://docs.scipy.org/doc/scipy/reference/optimize.html

.. index-end-marker

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

.. installation-start-marker

To install:

.. code-block:: bash

    pip install penaltymodel-lp

To build from souce:

.. code-block:: bash

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

.. installation-end-marker


License
-------

Released under the Apache License 2.0


