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.4.0.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.4.0-cp314-cp314-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 13.0+ x86-64

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

Uploaded CPython 3.14macOS 13.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

gamsapi-53.4.0-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.4.0.tar.gz.

File metadata

  • Download URL: gamsapi-53.4.0.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.4.0.tar.gz
Algorithm Hash digest
SHA256 154b396b4e70cc88e53bcca3fc71f8167f2a6107e533a48aa582b7fa0cc6d7c5
MD5 ace877b4fb6f3b1e3c33b3653d646f50
BLAKE2b-256 8dda3a7042be6b36fd4b8ac6dc06c12f2215ef0738744f951b682a9f350df7cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.4.0-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.4.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3f90342fe8f88c0ac64c7f24ddfe592a9368a1a336e021c5b170d1d04987ca45
MD5 cc9eed5735bb38721c7a2533f3a5f129
BLAKE2b-256 da54f75216a9627b57c34fcdbac0ea94fef5e78faa983981ceed4913b24b65ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a89f500dba365ecf29bc7c9439eb06f7f6e45398f2c01e669e89aa4b1e8114b
MD5 0ebf5e2d608fe9cfcfa10c6966bfb800
BLAKE2b-256 2c1e0d5810af986f83d7868e40d1d119f808367ce15a44163bcb9c7b54074b83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cd610845d4ff83eab339135957601f007cccc02d221ae0fe3698877e21d65b6c
MD5 0ebf245fa6ece9fdbf57ac2eb8259b2a
BLAKE2b-256 c94e53932eb80c4ad13730336f4d273c7cfb2de25da684d17ec258b076a4afd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c29b1aefc5147863ad82cfba22bf8e1e7c4c65750ba9f01073abd98a69382cc5
MD5 aae5b955592f39a353946133e6f7da94
BLAKE2b-256 ea38380de552561d5a5aed34dd9816269b3678f4354845ed673ff52b52107039

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9869b6254d990814b5e03fe827e4ee4665c7241f90ea17ecac1d6af634b0b3ed
MD5 66eabab06335f16fa65285c36223fef7
BLAKE2b-256 bfbc48b67def1e3a700f201153533a59bc9fcbf4b110151322b12d3dfdaa806b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.4.0-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.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ae9151e7f60aa638ea14d26fe608b0c09fed0f4307f8328dfe459f3fbe572ace
MD5 9f124b56a79d94888e093b88a70fdec7
BLAKE2b-256 8064f6dc09c76bab555ef34e5f416d1bb2b8f7874c1c55035010499cad11b99d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61bd124bf3237122c0d59a4f88b431f0dac8ee13b3d9899b2b60dd99927ad868
MD5 644bbb606cb99c44eab732bff293bfd0
BLAKE2b-256 f3d8308ab286164fcfdeb5315bb9d0bed2855c24049c1aa9a7e90332df917a40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f861849e93ee7ae59632ee09bdd9937baaa6b0ce0360b7a8b3102062c98474f0
MD5 5c6c48d4f923b0d5d15a08cff600970e
BLAKE2b-256 2c253a731883b29411599a908901f8833019520245b15cadb225f09922685119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 76a51dcd5859e9c7990b853a6c2fd8f227dbbbdb9f489a2af637e3b486200609
MD5 800e45938c5519e261df2750550af1fe
BLAKE2b-256 22a460ecadd06fb34af1633367d2adac9091232dafbc2d7e35d752f7331f5bf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1be0c68adddf1f8795bf40f82056ed501dbd979734978b9cd6fec669a7b15a14
MD5 6168431324dd8a36e00eeee0c61a004d
BLAKE2b-256 37503af5c5321c29cfdf83d21e4358d5219778508d0bf970ac30e9b18e81c9e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.4.0-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.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1d2e5ac40c2c07c8c9689f050a0bb025416c5002072f984ba91934729298ba11
MD5 ad09c6b731efc84861bfa1a572306dfd
BLAKE2b-256 fb617c000a8b50fe3a9a403cb9465245ad492975e0ea02be7bf25d92655108c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 42e4b756b2044e5b1ddd0f1032d0047eb9fcd59b32d8afce4a4be33a9e7d32cc
MD5 8edc14de992feeb69b480e90a8993a04
BLAKE2b-256 2f5fd3b5af7590aaa0171b4b1e5fb45eaee728dbab80fb0b39bc618e2de7635e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f415a1c7a37a5901af4ee852a8adfdaa8c51a88bf04b4285e82aa59ef87210bc
MD5 a59cd3f208cda8c48ba95dbbff0e6838
BLAKE2b-256 ba1c569f2848c36c1f543a63ce7b7295a18007e832fce659884f686180840ffe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 02947435bf07af6a84c21d0e92778364a33111bbc2b37def786761501d5e62ba
MD5 2292dc930b84f4ef1b9b4b175e88b3a7
BLAKE2b-256 a5ebb0bd6ed1358febd6f01eb6074a51d720152384423f0230769a3ccb26b542

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 59915ba8c60d199a46a9b2f6b29818b47305716991de5c365536a038074fc0c1
MD5 dda3b774b4d455418d08e5cc62b7db72
BLAKE2b-256 8f9638ea0d90c44fa8991f0bee94902d81e514af874f0d13104aa80b6fdf8eeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.4.0-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.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8260019b49e69c174a4d3178bb7933e0e5b1cc7b812be6a4254edff5017d17ca
MD5 ed699acf3de26a3c6651b4079168d16b
BLAKE2b-256 8afd0247ab4df9b18209241cb6b52e57ced4987ef4008bce47cdff772233e596

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c74fc1ef0c7f1ca5ec52c5b69e6280a24cf00ca5429217476c9e174d1678631
MD5 91f6a96001a590fa5991181b7af22847
BLAKE2b-256 610cf4eb0b9d2be3d7ab6196ef2e556ec268e8b57010aedfa6584e001253ec5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 103d8497b9ec3ed8a9db828731b2f4801b3cbd338ba826d906992483a673500e
MD5 17a515e2ef59c1e1bf6ee3aca395cb01
BLAKE2b-256 80545e47c428ae4d1d010f0f364c2e40c674ad78edcd2ebb19949bcaab574a84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 89bcdebe1c4ee06403f7400a40671ae0fe0a064c41d212f139201d198b7f45f6
MD5 2ab197219350d74dc5b8093fdc59f5d4
BLAKE2b-256 cafe328ba2be7d8c61cc4aa1dcca57aa48a178bdecb5946d7a9c8600bf7fe8d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3ded956189617db57fac4afffe71ad18723b089d3e0adae723ce94bac2fca8fe
MD5 1cbc88adced9f64645ee61a2484d6cb2
BLAKE2b-256 d78d3f8db29224985887d4a4093d9a086332caa6b775e63a816bec56ffc03584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamsapi-53.4.0-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.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 595757d814b4b18a7b03972fbce283f54a2d51061f792a307f06825dcd2c993f
MD5 a96f9eaa0121267d1af59b188f3c78fe
BLAKE2b-256 8495132fcc5672d9a20567e7ec08ec3b1338c1adc5ced9e3dfab322bfc7470fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18425fed4c491482265f51749a92c754a5399014438f749ed74f4f058c438e03
MD5 e0d7cbab9fa4881970bdb96a76d8cae1
BLAKE2b-256 dc947aa031373bd8e10d06647cdd5ab4f29b1c571bdf473be0d1bf8c5954eeb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 de44aee04e56aae48f3ecc8f5c6e1bb9095ffe16d31a11f2c792975ba4b03fdd
MD5 64a2160ee6b6682c2e8511d853459fe8
BLAKE2b-256 61929dd92f09a511dc659ded642ab63a6285ad8179177bbd3cdddeed89c90c70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 47f695b1566d85ed7040ef687bf8c5dd6ada803f3bcc5b14cefc9be0c0b6a8dd
MD5 093525bddb0345aacf3ac6a8bfbe905b
BLAKE2b-256 5c8ce6c1a2fd2b0085ea9b527552c4335ec980c174d3c3fbd447eba150a83e9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gamsapi-53.4.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ac873a9c91fda45b2824a04f08fa4bc48a86faebeb07476e67daa1e5c8fe7036
MD5 686991b7c9229dd45eb9fc66dfd1d0b5
BLAKE2b-256 99c11eb2c8c4769179cb7657072e525a9e3decbcbb79c48dba65aa95c65ee259

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