GAMS Python API
Project description
gamsapi: powerful Python toolkit to manage GAMS (i.e., sparse) data and control GAMS solves
What is it?
gamsapi is a Python package that includes submodules to control GAMS, manipulate and transfer data to/from the GAMS modeling system (through GDX files or in-memory objects). This functionality is available from a variety of different Python interfaces including standard Python scripts and Jupyter Notebooks. We strive to make it as simple as possible for users to generate, debug, customize, and ultimately use data to solve optimization problems -- all while maintaining high performance.
Main Features
Here are just a few of the things that gamsapi does well:
- Seamlessly integrates GAMS data requirements into standard data pipelines (i.e., Pandas, Numpy)
- Link and harmonize data sets across different symbols
- Clean/debug data before it enters the modeling environment
- Customize the look and feel of the data (i.e., labeling conventions)
- Bring data to GAMS from a variety of different starting points
- Send model output to a variety of different data endpoints (SQL, CSV, Excel, etc.)
- Automatic data reshaping and standardization -- will work to translate your data formats into the Pandas DataFrame standard
- Control GAMS model solves and model specification
Where to get it
The source code is currently available with any typical GAMS system. No license is needed in order to use gamsapi. A license is necessary in order to solve GAMS models.
A free demo license is available!
Dependencies
Installing gamsapi will not install any third-party dependencies, as such, it only contains basic functionality. Users should modify this base installation by choosing extras to install -- extras are described in the documentation.
# from PyPI (with extra "transfer")
pip install gamsapi[transfer]
# from PyPI (with extras "transfer" and "magic")
pip install gamsapi[transfer,magic]
# from PyPI (include all dependencies)
pip install gamsapi[all]
Documentation
The official documentation is hosted on gams.com.
Getting Help
For usage questions, the best place to go to is GAMS. General questions and discussions can also take place on the GAMS World Forum.
Discussion and Development
If you have a design request or concern, please write to support@gams.com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for gamsapi-47.1.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400ae7ecad3b16b627a33015dae8973c798fbef3222d20268383366f27d2c40f |
|
MD5 | 174db37585cbed75947391761aff6272 |
|
BLAKE2b-256 | 8668cf52164155cb7f42b2b7af996e4471233ac2b4b07688b60ce56c27846921 |
Hashes for gamsapi-47.1.0-cp312-cp312-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7767879ca8853d479eb49c7453a18905f34fe1c618e9f4e77478cc9b9b15932 |
|
MD5 | 68e28c871cf7d3d57dd7b7910ab2d419 |
|
BLAKE2b-256 | c05d01df74769291f267e3c67f1f030df85e4a4600388575e3c2ffe321ebc0fd |
Hashes for gamsapi-47.1.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d2f904df26e4944b52701d6365816f2f27d37a607a7916d092cd3335a1350ef |
|
MD5 | 3712655d959408af4fc04db1cc887e94 |
|
BLAKE2b-256 | a910d1ba25028c33f23af6bee94947286fc8ef0ab18177a78276dd25464e84e3 |
Hashes for gamsapi-47.1.0-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00309025f0452ad064f8750fd690ab4e462c3b6e478f07f4335c35639a4c2fea |
|
MD5 | a250db3f92c37ba304cc372bda7afcb3 |
|
BLAKE2b-256 | a35aec41e2b864eec12a0b25dd809f3492e221bf3dbac8c3e214d0f3f8818014 |
Hashes for gamsapi-47.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309a1faf1b8a99fcec4fdede2ebae711ab9535c2719e895efceb1c85bd43d17f |
|
MD5 | 19fd31837407b4aa4aa419c6a0e11da6 |
|
BLAKE2b-256 | 42babd0ca4bddf59e6d1a1dcfb01d104984f07a98d29cdd6c78b4cae854e564e |
Hashes for gamsapi-47.1.0-cp311-cp311-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 256c87ef6458830dea0dc53782e150eccb11882c941b041fd4a276b91f4deee7 |
|
MD5 | 30202f7f0d5cda2e55b8a5d877151ce4 |
|
BLAKE2b-256 | 382f63daf985680d11719b6e2b7f8a82e781f39b762a944f00722f8cbac9689a |
Hashes for gamsapi-47.1.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c06d19dfd134c1f7f99b5e6abd64d26fc9b2b5708c39f9e8ec26f82410fb0d0 |
|
MD5 | bb1a6850d9cdeb44d8d07069f2d60f67 |
|
BLAKE2b-256 | 2b8c6f1d8a5b743edfcd5d32cf6983b6973e2a23238dde4e0c5419acdd7cee3f |
Hashes for gamsapi-47.1.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d913d0f2dabe4690becea38028e8a8fad898cae3a020bc28352889762d1336 |
|
MD5 | b9990d3b8b1c0a18a821fcc5591d4e97 |
|
BLAKE2b-256 | ffe151f8aff797bec986ae2d9f35938eefe1852abe77f867d681a81deddb6741 |
Hashes for gamsapi-47.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4edbae3e0299417adf1bbbe4502e4b1b77d08b69f3cffeca238f577ffdd5f06 |
|
MD5 | fd587c6384b9879b658fea31b4a19106 |
|
BLAKE2b-256 | 1ae5faf0ba72fc896f780cff62ee5e20d3b048ade9b907926ae1a5d5375b83db |
Hashes for gamsapi-47.1.0-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f325c95e013916f39dcf36eaf46e5b9c4c20f12e5bbb6b346750c8710392018 |
|
MD5 | 9e724d11ec270dff1d357ae97044d1e5 |
|
BLAKE2b-256 | 3bd3ad140a252c405f8a8bb18043b8d77ac800994dd86901788ca72c93e49789 |
Hashes for gamsapi-47.1.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03097cc98bb517e01bb5066d30d3ee87752c7aa261b0be139b6bcd7ffb1fbece |
|
MD5 | 9d5360f81e04d0be778e250c97018199 |
|
BLAKE2b-256 | 91d609437f49561e5217bbc961fc8c07e1d42bd3fa3ae16ff80ff9b2a9588bb9 |
Hashes for gamsapi-47.1.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ef091c537edcbf72f50a2b628ecd1a4a61893f59fade88748065a35f94a513 |
|
MD5 | 78417f5b3df9071a9e32b3de6c7c3a16 |
|
BLAKE2b-256 | 94c1b65fbacc879d26b1764ec82107f00e0e8b6450664038aa8232c51e25fb5b |
Hashes for gamsapi-47.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee3254a23bd75411e9865a24b1c5a655f00557ffe4bfa1e029017be3bde76e8 |
|
MD5 | e81922b1259640ffc2f17f006080a455 |
|
BLAKE2b-256 | fca9f7ca2d82703cd3b6cb8da6c2419c22fc8cded6798ee7a13e2b18f4ece74e |
Hashes for gamsapi-47.1.0-cp39-cp39-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f31bb60cc7de3db6d2a55ba79552139c31086daa5231a0ff963d2445fbfe8ab4 |
|
MD5 | 50d39a2cf674ade31e9d57dbe65bc0ea |
|
BLAKE2b-256 | 36619c5e0bba39b1095db83511d3dfa055816b179153b265d33794fce7608239 |
Hashes for gamsapi-47.1.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f6664d56e89aa1049f138e818880263d70805c6952afac5e0cd58e3fb6b6bb9 |
|
MD5 | fa4331728950e550c2af72cc82931181 |
|
BLAKE2b-256 | 6d2de6caf73537cf98b35fd2e3258e560906d15b47d6a61deec8c5c986b55c1b |
Hashes for gamsapi-47.1.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa25facffa39472c73151fb99f1b9cb1097885c8c4d4358f0180fd2930b3e3da |
|
MD5 | 7c45481df0ab8c485d5ad458cbcf55f3 |
|
BLAKE2b-256 | 7bc8ef2f5c537d8052ef0b069d010b6acdcb0769691edf85493213494b02ed1d |
Hashes for gamsapi-47.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451aa6b45f5b943d38fdf8532cb0aa1d7a16e883cc7c7680cac7e09db473991e |
|
MD5 | 66c7a4a2cde1ad8528f4089d6d03281e |
|
BLAKE2b-256 | cafe5edb1d6296d3769e3978d97c24a886256bcac22534b026b31eeb900db0c2 |
Hashes for gamsapi-47.1.0-cp38-cp38-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1116636f2e500e97d1a6e14943029687bee74175fba064760068d4c4508a767 |
|
MD5 | 27568d9db4b513e0164b523c937e64d1 |
|
BLAKE2b-256 | 0fafd74241400ed87bd39ca65630a0208cfe07d06b25b2733d0e5ab94c429fee |
Hashes for gamsapi-47.1.0-cp38-cp38-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4b4e8f0e2cbae9507a1949b594dbd827fd513d431c3ce8e5b22455f31e84d7 |
|
MD5 | 6d95f7bdf70014a4a6fe9cd18fa5344d |
|
BLAKE2b-256 | 27183155e151ee355bf3f07ce71ff44f4b987c8758f0670f520d7780a1d78e2b |
Hashes for gamsapi-47.1.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b138f8b54bf7487f2623c630b35827defb51ead39613aaf8696620d4a4dd6c9f |
|
MD5 | 3385f41cb1eb08483078797d6b73570a |
|
BLAKE2b-256 | 81b5736efef2046663da74540904fab06c64cbbdcdd7030f98c655b504e61229 |