{ "info": { "author": "St\u00e9phane Caron", "author_email": "stephane.caron@normalesup.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Mathematics" ], "description": "This module provides a single function ``solve_lp(c, G, h, A, b, solver=X)``\nwith a *solver* keyword argument to select the backend solver. The linear\nprogram it solves is, in standard form:\n\n.. code-block::\n\n min. c^T x\n s.t. G x <= h\n A x == b\n\nwhere vector inequalities are taken coordinate by coordinate.\n\nSolvers\n-------\n\nThe list of supported solvers currently includes:\n\n- `CVXOPT `_\n- `cdd `_\n\nExample\n-------\n\nTo solve a linear program, simply build the matrices that define it and call\nthe ``solve_lp`` function:\n\n.. code:: python\n\n from numpy import array\n from lpsolvers import solve_lp\n\n c = array([1., 2., 3.])\n G = array([[1., 2., -1.], [2., 0., 1.], [1., 2., 1.], [-1., -1., -1.]])\n h = array([4., 1., 3., 2.])\n\n print \"LP solution:\", solve_lp(c, G, h)\n\nThis example outputs the solution ``[2.2 -0.8 -3.4]``.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stephane-caron/lpsolvers", "keywords": "lp,linear programming,solver", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "lpsolvers", "package_url": "https://pypi.org/project/lpsolvers/", "platform": "any", "project_url": "https://pypi.org/project/lpsolvers/", "project_urls": { "Homepage": "https://github.com/stephane-caron/lpsolvers" }, "release_url": "https://pypi.org/project/lpsolvers/0.8.9/", "requires_dist": null, "requires_python": "", "summary": "Linear Programming solvers for Python with a unified API", "version": "0.8.9" }, "last_serial": 4405700, "releases": { "0.8.6": [ { "comment_text": "", "digests": { "md5": "a5ac53dad458a3f0160d09edea802db2", "sha256": "3d8d35055dcade5bae1c33fafa873a23df7a2ead3335d02f726f817ff913fd98" }, "downloads": -1, "filename": "lpsolvers-0.8.6.tar.gz", "has_sig": false, "md5_digest": "a5ac53dad458a3f0160d09edea802db2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3310, "upload_time": "2018-07-03T09:45:48", "url": "https://files.pythonhosted.org/packages/c2/0b/782bb4e54bfa6efcc13e5747e7e25f27d64f6ce31fc013cb803ced33fe0c/lpsolvers-0.8.6.tar.gz" } ], "0.8.7": [ { "comment_text": "", "digests": { "md5": "6dbb7e919614d5632b6664c60a5a0205", "sha256": "6c3e60e9cde29e3d77fdb66a8766a5e1385515725008b831b023425fd8d0ba21" }, "downloads": -1, "filename": "lpsolvers-0.8.7.tar.gz", "has_sig": false, "md5_digest": "6dbb7e919614d5632b6664c60a5a0205", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3309, "upload_time": "2018-07-05T08:46:20", "url": "https://files.pythonhosted.org/packages/a4/52/27f306f16425aca0e23918b8553ace63c883fcbac57084c8530ef909825b/lpsolvers-0.8.7.tar.gz" } ], "0.8.8": [ { "comment_text": "", "digests": { "md5": "6b8272f08f710a96109e5dbd2e2a3a22", "sha256": "cf354d7e56736e10609ac309001e5ce1e604cb8df3a92ba3f6b28ba3a91a110b" }, "downloads": -1, "filename": "lpsolvers-0.8.8.tar.gz", "has_sig": false, "md5_digest": "6b8272f08f710a96109e5dbd2e2a3a22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3910, "upload_time": "2018-07-05T09:53:31", "url": "https://files.pythonhosted.org/packages/6d/88/7134bcbf55e06b80d3a147b55760e0467d46f30bb66786c67ab1fe79f3ca/lpsolvers-0.8.8.tar.gz" } ], "0.8.9": [ { "comment_text": "", "digests": { "md5": "ee5027fc6f2982b32ebd0942912bddec", "sha256": "bf6fcbd21ec73eb84d17a4ec0c85f101065b12be4ae4beace312d9a0c5db9d75" }, "downloads": -1, "filename": "lpsolvers-0.8.9.tar.gz", "has_sig": false, "md5_digest": "ee5027fc6f2982b32ebd0942912bddec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3910, "upload_time": "2018-10-23T09:25:36", "url": "https://files.pythonhosted.org/packages/8e/70/dc98ff2a85d34b31ca8e1c0a05a08555846253e63141a17efc7a40ae2dc0/lpsolvers-0.8.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee5027fc6f2982b32ebd0942912bddec", "sha256": "bf6fcbd21ec73eb84d17a4ec0c85f101065b12be4ae4beace312d9a0c5db9d75" }, "downloads": -1, "filename": "lpsolvers-0.8.9.tar.gz", "has_sig": false, "md5_digest": "ee5027fc6f2982b32ebd0942912bddec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3910, "upload_time": "2018-10-23T09:25:36", "url": "https://files.pythonhosted.org/packages/8e/70/dc98ff2a85d34b31ca8e1c0a05a08555846253e63141a17efc7a40ae2dc0/lpsolvers-0.8.9.tar.gz" } ] }