gamspy


Namegamspy JSON
Version 1.3.1 PyPI version JSON
download
home_pageNone
SummaryPython-based algebraic modeling interface to GAMS
upload_time2024-12-03 09:37:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseGAMSpy - General Algebraic Modeling in Python Copyright (c) 2024 GAMS Development Corp. <support@gams.com> Copyright (c) 2024 GAMS Software GmbH <support@gams.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords optimization gams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![plot](https://github.com/GAMS-dev/gamspy/blob/develop/docs/_static/gamspy_logo.png?raw=true)

-----------------
[![PyPI version](https://img.shields.io/pypi/v/gamspy.svg?maxAge=3600)](https://gamspy.readthedocs.io/en/latest/)
[![Downloads](https://static.pepy.tech/badge/gamspy)](https://pepy.tech/project/gamspy)
[![Documentation Status](https://readthedocs.org/projects/gamspy/badge/?version=latest)](https://gamspy.readthedocs.io/en/latest/)

# GAMSPy: Algebraic Modeling Interface to GAMS

## Installation

```sh
pip install gamspy
```

## What is it?

**gamspy** is a mathematical optimization package that combines the power of the high performance GAMS execution system
and flexibility of the Python language. It includes all GAMS symbols (Set, Alias, Parameter, Variable, and
Equation) to compose mathematical models, a math package, and various utility functions.

## Documentation
The official documentation is hosted on [GAMSPy Readthedocs](https://gamspy.readthedocs.io/en/latest/index.html).

## Design Philosophy
GAMSPy makes extensive use of set based operations -- the absence of any explicit looping, indexing, etc., in native Python.
These things are taking place, of course, just “behind the scenes” in optimized, pre-compiled C code.

Set based approach has many advantages:

  - Results in more concise Python code -- avoids inefficient and difficult to read for loops
  - Closely resembles standard mathematical notation
  - Easier to read
  - Fewer lines of code generally means fewer bugs


## Main Features
Here are just a few of the things that **gamspy** does well:

  - Specify model algebra in Python natively
  - Combines the flexibility of Python programming flow controls and the power of model specification in GAMS
  - Test a variety of solvers on a model by changing only one line

## Getting Help

For usage questions, the best place to go to is [GAMSPy Documentation](https://gamspy.readthedocs.io/en/latest/index.html).
General questions and discussions can also take place on the [GAMSPy Discourse Platform](https://forum.gams.com/c/gamspy-help).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gamspy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Optimization, GAMS",
    "author": null,
    "author_email": "GAMS Development Corporation <support@gams.com>",
    "download_url": "https://files.pythonhosted.org/packages/c5/1f/1d03918898d4c7358a0d29980000188cd40a03553baa8791aa6fcd28d0d8/gamspy-1.3.1.tar.gz",
    "platform": null,
    "description": "![plot](https://github.com/GAMS-dev/gamspy/blob/develop/docs/_static/gamspy_logo.png?raw=true)\r\n\r\n-----------------\r\n[![PyPI version](https://img.shields.io/pypi/v/gamspy.svg?maxAge=3600)](https://gamspy.readthedocs.io/en/latest/)\r\n[![Downloads](https://static.pepy.tech/badge/gamspy)](https://pepy.tech/project/gamspy)\r\n[![Documentation Status](https://readthedocs.org/projects/gamspy/badge/?version=latest)](https://gamspy.readthedocs.io/en/latest/)\r\n\r\n# GAMSPy: Algebraic Modeling Interface to GAMS\r\n\r\n## Installation\r\n\r\n```sh\r\npip install gamspy\r\n```\r\n\r\n## What is it?\r\n\r\n**gamspy** is a mathematical optimization package that combines the power of the high performance GAMS execution system\r\nand flexibility of the Python language. It includes all GAMS symbols (Set, Alias, Parameter, Variable, and\r\nEquation) to compose mathematical models, a math package, and various utility functions.\r\n\r\n## Documentation\r\nThe official documentation is hosted on [GAMSPy Readthedocs](https://gamspy.readthedocs.io/en/latest/index.html).\r\n\r\n## Design Philosophy\r\nGAMSPy makes extensive use of set based operations -- the absence of any explicit looping, indexing, etc., in native Python.\r\nThese things are taking place, of course, just \u201cbehind the scenes\u201d in optimized, pre-compiled C code.\r\n\r\nSet based approach has many advantages:\r\n\r\n  - Results in more concise Python code -- avoids inefficient and difficult to read for loops\r\n  - Closely resembles standard mathematical notation\r\n  - Easier to read\r\n  - Fewer lines of code generally means fewer bugs\r\n\r\n\r\n## Main Features\r\nHere are just a few of the things that **gamspy** does well:\r\n\r\n  - Specify model algebra in Python natively\r\n  - Combines the flexibility of Python programming flow controls and the power of model specification in GAMS\r\n  - Test a variety of solvers on a model by changing only one line\r\n\r\n## Getting Help\r\n\r\nFor usage questions, the best place to go to is [GAMSPy Documentation](https://gamspy.readthedocs.io/en/latest/index.html).\r\nGeneral questions and discussions can also take place on the [GAMSPy Discourse Platform](https://forum.gams.com/c/gamspy-help).\r\n",
    "bugtrack_url": null,
    "license": "GAMSpy - General Algebraic Modeling in Python  Copyright (c) 2024 GAMS Development Corp. <support@gams.com> Copyright (c) 2024 GAMS Software GmbH <support@gams.com>  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Python-based algebraic modeling interface to GAMS",
    "version": "1.3.1",
    "project_urls": {
        "changelog": "https://github.com/GAMS-dev/gamspy/blob/develop/CHANGELOG.md",
        "documentation": "https://gamspy.readthedocs.io/en/latest/user/index.html",
        "homepage": "https://gams.com/sales/gamspy_facts/",
        "repository": "https://github.com/GAMS-dev/gamspy"
    },
    "split_keywords": [
        "optimization",
        " gams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f918df0e1e28923fd39893ef74cf295ec70bdb070ed61e484def3d4129b9ff32",
                "md5": "7b8a6910b666da9c0cba2a2dceb73ea5",
                "sha256": "cd66b504f4803283bb0248418cc6fcd17e67091c2f06e25b20e7190d5dcd09f4"
            },
            "downloads": -1,
            "filename": "gamspy-1.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7b8a6910b666da9c0cba2a2dceb73ea5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 149463,
            "upload_time": "2024-12-03T09:37:17",
            "upload_time_iso_8601": "2024-12-03T09:37:17.035866Z",
            "url": "https://files.pythonhosted.org/packages/f9/18/df0e1e28923fd39893ef74cf295ec70bdb070ed61e484def3d4129b9ff32/gamspy-1.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c51f1d03918898d4c7358a0d29980000188cd40a03553baa8791aa6fcd28d0d8",
                "md5": "503bd6a30ffb54bee87e45b0f054a0b7",
                "sha256": "bbfa2f9cd5851c833dc15334808846f93ec470f52cee531da17415ad3591fd5a"
            },
            "downloads": -1,
            "filename": "gamspy-1.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "503bd6a30ffb54bee87e45b0f054a0b7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 118307,
            "upload_time": "2024-12-03T09:37:18",
            "upload_time_iso_8601": "2024-12-03T09:37:18.303614Z",
            "url": "https://files.pythonhosted.org/packages/c5/1f/1d03918898d4c7358a0d29980000188cd40a03553baa8791aa6fcd28d0d8/gamspy-1.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-03 09:37:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GAMS-dev",
    "github_project": "gamspy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gamspy"
}
        
Elapsed time: 0.36729s