Name | gana JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | An Algebraic Modeling Language (AML) for multiscale modeling and optimization |
upload_time | 2025-01-26 00:01:27 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.12 |
license | MIT License
Copyright (c) 2025 Rahul Kakodkar
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 |
modeling
optimization
mathematical programming
aml
|
VCS |
 |
bugtrack_url |
|
requirements |
sympy
pyomo
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Gana is an algebraic modeling language (AML) for multiscale modeling and optimization
Modeling in Gana is done using four sets:
1. I - index
2. V - variable
3. P - parameter
4. T - parametric variable
The model can be exported as a .mps or .lp file and passed to a solver
or
Matrices can be generated to represent:
LHS Parameter coefficient of variables in constraints:
1. A - all
2. G - inequality
3. H - equality
4. NN - nonnegativity
RHS parameters in constraints:
1. B
RHS Parameter coefficient of parametric variables in constraints:
1. F
Bounds of the parametric variables:
1. CRa - RHS coefficients
2. CRb - Bound (upper or lower)
Gana was developed to enable certain functionalities in [energia (py)](https://pypi.org/project/energiapy/).
Both were developed through my PhD and as such have a lot of room for improvement.
So please reach out to me on cacodcar@gmail.com with suggestions and such.
Raw data
{
"_id": null,
"home_page": null,
"name": "gana",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": "Rahul Kakodkar <cacodcar@gmail.com>",
"keywords": "modeling, optimization, mathematical programming, aml",
"author": null,
"author_email": "Rahul Kakodkar <cacodcar@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/0b/73/368d01fc1d06c6e6a1df3396be9576c4c7ed73ad44c566bf3af269c12c63/gana-0.0.1.tar.gz",
"platform": null,
"description": "Gana is an algebraic modeling language (AML) for multiscale modeling and optimization\r\n\r\nModeling in Gana is done using four sets: \r\n\r\n1. I - index \r\n2. V - variable\r\n3. P - parameter \r\n4. T - parametric variable\r\n \r\nThe model can be exported as a .mps or .lp file and passed to a solver \r\n\r\nor \r\n\r\nMatrices can be generated to represent: \r\n\r\nLHS Parameter coefficient of variables in constraints: \r\n 1. A - all\r\n 2. G - inequality \r\n 3. H - equality\r\n 4. NN - nonnegativity\r\n\r\nRHS parameters in constraints:\r\n 1. B \r\n\r\nRHS Parameter coefficient of parametric variables in constraints:\r\n 1. F \r\n\r\nBounds of the parametric variables:\r\n 1. CRa - RHS coefficients\r\n 2. CRb - Bound (upper or lower)\r\n\r\n\r\nGana was developed to enable certain functionalities in [energia (py)](https://pypi.org/project/energiapy/).\r\n\r\nBoth were developed through my PhD and as such have a lot of room for improvement.\r\n\r\nSo please reach out to me on cacodcar@gmail.com with suggestions and such. \r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT License\r\n \r\n Copyright (c) 2025 Rahul Kakodkar\r\n \r\n Permission is hereby granted, free of charge, to any person obtaining a copy\r\n of this software and associated documentation files (the \"Software\"), to deal\r\n in the Software without restriction, including without limitation the rights\r\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n copies of the Software, and to permit persons to whom the Software is\r\n furnished to do so, subject to the following conditions:\r\n \r\n The above copyright notice and this permission notice shall be included in all\r\n copies or substantial portions of the Software.\r\n \r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n SOFTWARE.\r\n ",
"summary": "An Algebraic Modeling Language (AML) for multiscale modeling and optimization",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/cacodcar/gana",
"Issues": "https://github.com/cacodcar/gana/issues"
},
"split_keywords": [
"modeling",
" optimization",
" mathematical programming",
" aml"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "8d2a0b952ce5863199554732cfb40cd66e338d338ae57e15795e712645c492a0",
"md5": "a8d8483f3edb29aaffd4fb3eab1844af",
"sha256": "76b86ea7f2998b5c2a0cd7f2dc47810d75c1114053eee8e09c0c1dd52cb9c0aa"
},
"downloads": -1,
"filename": "gana-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a8d8483f3edb29aaffd4fb3eab1844af",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 36484,
"upload_time": "2025-01-26T00:01:26",
"upload_time_iso_8601": "2025-01-26T00:01:26.413339Z",
"url": "https://files.pythonhosted.org/packages/8d/2a/0b952ce5863199554732cfb40cd66e338d338ae57e15795e712645c492a0/gana-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0b73368d01fc1d06c6e6a1df3396be9576c4c7ed73ad44c566bf3af269c12c63",
"md5": "21a1c65983fa8278c49da5bf5b8d5471",
"sha256": "1f38d1bc29c3969402ce5e046a238052704bd5fb884adb608b4d2c7336042504"
},
"downloads": -1,
"filename": "gana-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "21a1c65983fa8278c49da5bf5b8d5471",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 26992,
"upload_time": "2025-01-26T00:01:27",
"upload_time_iso_8601": "2025-01-26T00:01:27.713677Z",
"url": "https://files.pythonhosted.org/packages/0b/73/368d01fc1d06c6e6a1df3396be9576c4c7ed73ad44c566bf3af269c12c63/gana-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-26 00:01:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cacodcar",
"github_project": "gana",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "sympy",
"specs": []
},
{
"name": "pyomo",
"specs": []
}
],
"lcname": "gana"
}