Skip to main content

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.

GAMS has a robust Academic Program that includes a full-featured GAMSPy License (w/ commercial solvers -- no model size limitations)!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gamsapi-53.3.1.tar.gz (937.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gamsapi-53.3.1-cp314-cp314-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.14Windows x86-64

gamsapi-53.3.1-cp314-cp314-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

gamsapi-53.3.1-cp314-cp314-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

gamsapi-53.3.1-cp314-cp314-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14macOS 13.0+ x86-64

gamsapi-53.3.1-cp314-cp314-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

gamsapi-53.3.1-cp313-cp313-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.13Windows x86-64

gamsapi-53.3.1-cp313-cp313-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

gamsapi-53.3.1-cp313-cp313-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

gamsapi-53.3.1-cp313-cp313-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gamsapi-53.3.1-cp313-cp313-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gamsapi-53.3.1-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

gamsapi-53.3.1-cp312-cp312-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

gamsapi-53.3.1-cp312-cp312-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

gamsapi-53.3.1-cp312-cp312-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gamsapi-53.3.1-cp312-cp312-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gamsapi-53.3.1-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gamsapi-53.3.1-cp311-cp311-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

gamsapi-53.3.1-cp311-cp311-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

gamsapi-53.3.1-cp311-cp311-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gamsapi-53.3.1-cp311-cp311-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

gamsapi-53.3.1-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

gamsapi-53.3.1-cp310-cp310-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

gamsapi-53.3.1-cp310-cp310-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

gamsapi-53.3.1-cp310-cp310-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

gamsapi-53.3.1-cp310-cp310-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

File details

Details for the file gamsapi-53.3.1.tar.gz.

File metadata

  • Download URL: gamsapi-53.3.1.tar.gz
  • Upload date:
  • Size: 937.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gamsapi-53.3.1.tar.gz
Algorithm Hash digest
SHA256 0755599658a9c37547e5f1e08e4823de0d5d957f50807bb90f7244bb75ed7dd7
MD5 9b20f4049725d9afe9f7645bbe5737aa
BLAKE2b-256 e1d9a13554834bcf9febdab3557fbd147ce8be7e9120531bba4869bf6229b056

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.3.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gamsapi-53.3.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 88807d7fb31ef8c942c39068a015db7ca67bef04022daaf37292a89d45186444
MD5 e66737a3a2121f9f58d23f609335c920
BLAKE2b-256 5a025644926b2f6c5cf52ee8f74240827257037bd09493c8b6393cab2ed09c4a

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2795b9015d5b417b35caf5f145b6c21d124db54cf7a0a932382da3f7c1779b24
MD5 b2d00882465e6a8af9ac79f1fdef20ca
BLAKE2b-256 e25432f0095bb331f9e528e379bb5e89ef7d3dfa79f9c432ca65500ab54dbe18

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d865f7fa1714e6a6a4fa91f414dc4c1713d18011f9700a26a5ca134c75bc87e7
MD5 d066ab908d602556746efc4a0650c03e
BLAKE2b-256 e97025eb101fb32f9d5cbce60ffa95eb77c2cf61b6d4cc8c4dce3ae9c8f416e9

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp314-cp314-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0086fd021291eec97146e08910608cc5374461f6ab9a3cf096b05815db999940
MD5 f5e0f7495f18b662bccc45f46507880d
BLAKE2b-256 676a53543fcc185fb318b0f0fcd08f85ba7ee00d1bf302cb43c21af792eb3bca

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aa0276f22e8f9b84684bc22fc5bf441f0456562777a4cfe467ac83d78be20bd5
MD5 a7a739c7ae23218f20b9125f03062795
BLAKE2b-256 a21783993b9bb772e7ebb1352ffd7fdb1895a92b812fa3d668cbbcda0167559f

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.3.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gamsapi-53.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f9e04728fad66b16e0c7067ef5c9ed6cb1e7f53c053ecaf05b31ec24a97806f0
MD5 62c3ae5a705fba49d861ad00cc557c4a
BLAKE2b-256 aab501a487964a156c8f4e7a2b40294a6861cdfe2972972bcb4dd8d21fffbd7a

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f84bcc851b738cd838d84b762d616d16f1adeb356cfa39fd7d3dca08126e2525
MD5 89ec2b0080b5a4eb8f175918c34e7039
BLAKE2b-256 ef07e8e24549e1b3b95565084b5306a977b0f0aeb570420a263da951b18b394d

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 41a0c88424bce1a3d35e7a3b7b7200bb4070a4f04a79b0cff741928757422dae
MD5 45396f6996b3b28ebb2ec96d02d830fd
BLAKE2b-256 572e29dfdd967982418c7507a3c283f698be7486ced3c1438b445b17a3b25064

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dfd27bb8dcc65c6ec5f177ca4b2ec568be0feb314c1fd6fdad2a837d381fa5ec
MD5 9ab19a8c3e28efa86abe47d7c7a5ec9d
BLAKE2b-256 1db94b94023308003a79405973d532c169873fe19d1276f419b61008b3237778

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 116c0df42d286540a28aaf84133b12fcf634fb4ead5555de3087a948fde92cfd
MD5 d25932aa8116af7c86625fab28b35d19
BLAKE2b-256 d7cb034ab5a2fce3e5de4037d730dfe0147191c71d545b2ef255d66f0f266f29

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.3.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gamsapi-53.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2beb0457d0260e734b907cf7be41290acb8f7fa91e92a1aa4e1a97a126487333
MD5 0de8810e8f7cc8496a958980ea2ba7b4
BLAKE2b-256 af6620c911c0860fa61655f878256edf193db395b3b78f731005554c9991bbc2

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0e1b3b4b73f1a43e1db941de02dcef8a2f7bd97d50deb931281c56bee06f2cbb
MD5 b9401c9e97c81911cbef2eb98d7cc0b8
BLAKE2b-256 bbf6a583f8059db16e3dda79aaf281b13505e159b2c4524341d81f5ec8e3f60d

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2cbef26c9426d5a85f8a07b09f6774ade134208ab42d0254a19e9bc93833e047
MD5 e1beae95d84b51a95b2e7ce34b4489f8
BLAKE2b-256 0ff1d37289b106e138588ee43ac0b36296b7bfa8c4e3d1a82487b36feff7525d

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 185ab2d13622e64bcadb2c0746d0b43a28400053c3cb1f8f23be0981e1a96db2
MD5 5be6e1abc13a097054cd4dbb382e31ec
BLAKE2b-256 93182fdd2166fa11e11a59fe8c6b84987a72db90a20e6dbbeed5cfa61162068b

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 24aba93f590d705256e7f969bcb30b263d7eb30c713cd810685e1172138b8990
MD5 53827bb9d577a50584871410cf48da50
BLAKE2b-256 569f33b76d8b3a6c20a073c4bd4101f80e5321628f1965d508ab41287cb2c1b9

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.3.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gamsapi-53.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dad8530a4d22bfcb1ae10cd72ea135a3e0db4c356a919b4db30648e434d0b5aa
MD5 d7427297923198875faf4115530a4173
BLAKE2b-256 975cedd288510a6c4389453edafadaa4fdf4143b2eef5c5b1fb8105f368da67f

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 42b82ea2e206fec530aff34ca97def8cd94bb58e027ba8e6db773b94717d8be0
MD5 dfb5ce0fa45246d25ff1cccb1b418ce9
BLAKE2b-256 2cb52e5de200bf843e6f46af1d963222cdd6fe906b1819f2bea8aa07ae46def7

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 70b1793e4d8ccb004b3fd6595b7d648586db7caf517d39fdab2ece38165caa74
MD5 0b6fb936ca4e041aa09d592d451b3ec1
BLAKE2b-256 e52b0a82aaf8bcf10e6b7288d6536e035ec9317f2edb614d7db9aebd536ca60e

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eac43c459e5f12d078db415cfa157f01f69b88abfa86ce31a6e70de5b1e21629
MD5 760a1752032a32972ac6f38fb6ea7eec
BLAKE2b-256 bfe376f8e6e9701f18278e68366eeb96573200516366609561307d4c1a0477f7

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 be5c3a54a338b5e9d744f121afa15fc002daa2033f1cf90cdd3510e073e9f40c
MD5 1b4906177397df382ca4b9688540399c
BLAKE2b-256 09ab4e7e1a1b1cedf5bc6964070b551077f1c414d787005c6e06abb4d18cb6b1

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: gamsapi-53.3.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gamsapi-53.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 10f42cf2268e5fa42be7afa9ffee19cac68cf7b7755efb2da53047f46876079b
MD5 6bb2e646fbbb7d575026feef475469a3
BLAKE2b-256 3af1e6521b7fc982b398c1d4f61c5a06c260fde1db8ef2f3d537edf215179c64

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a750415e0a84b7439fcb98d4ff35c757d38662a8f0ec3b8ee1cfd98122aaac8a
MD5 90104304838ec134ab13d538befc025b
BLAKE2b-256 4b262b0870c293b478badbc5f7fff8ca4edaa5ab05aae01c5d55ec626523bbf3

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 32122d2686cdc67d6da68b622289f84b943d10181ff3b437d1158451a885677f
MD5 5ff500626392899981c98106e2fdeed7
BLAKE2b-256 a6d9b4454c998985801599789a19d294ce9d34ec34fa4c4f9d49060fd373351a

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b273ef43fe17804424b7b778a4120f420148baf226f2be37f577f22bd4b7df02
MD5 9fef005d45b600015ffbf7769feef35d
BLAKE2b-256 44a5cc5d659342ab026b2b59e810bebfc81b4f4ffeb54f15483d4c4c927643f9

See more details on using hashes here.

File details

Details for the file gamsapi-53.3.1-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-53.3.1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2820c6ca58cafb9801d3682a6e5db7e4d0c476f362bd1de8ae84590145b57bb5
MD5 6854f208244bfee03992206446676b33
BLAKE2b-256 fa842c7965ffb4894c6d5dc9e86bf33bb512501d6436cc43b42f44b8087fe4bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page