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-54.0.1rc1.tar.gz (940.4 kB view details)

Uploaded Source

Built Distributions

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

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

Uploaded CPython 3.14Windows x86-64

gamsapi-54.0.1rc1-cp314-cp314-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14macOS 13.0+ x86-64

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

Uploaded CPython 3.14macOS 13.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

gamsapi-54.0.1rc1-cp313-cp313-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gamsapi-54.0.1rc1-cp312-cp312-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gamsapi-54.0.1rc1-cp311-cp311-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.11macOS 13.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

gamsapi-54.0.1rc1-cp310-cp310-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

gamsapi-54.0.1rc1-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-54.0.1rc1.tar.gz.

File metadata

  • Download URL: gamsapi-54.0.1rc1.tar.gz
  • Upload date:
  • Size: 940.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gamsapi-54.0.1rc1.tar.gz
Algorithm Hash digest
SHA256 3e1b867301bc80933f9bd9a4b0da6971d7295dcdd7823f91959e1502df73ffcf
MD5 bb795599ad5b88e39f7548203823ae54
BLAKE2b-256 7b20063ce21565cba64190dcf1cca382d5854a204a8e733315fd06672ab81948

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e1e3b996e090c5b4389cab5168efb1a39cd00f92bed9d31425297f1449776f7d
MD5 ce983500728eb3c4753fc153ac19052c
BLAKE2b-256 09d67c7e42c873d544133b2854edb2c1bf428728a56e9811f8e76da3d131eeb8

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 60e63339e43b8228f227b495071086dc3eed5822e36eedf81f65740f2d774cc6
MD5 c6f69344abbf5338d5b574f9a880e6f8
BLAKE2b-256 c764580713f25f7c108577ae46d34ae0d7bb9a04eeecba3d2c6c3982411af66a

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 df0ae851a0f1bf44848123b3fa8b6d416d19341d0eee909cf39d1203cf27cd3c
MD5 2eecdbe89e4697892130761cf56a02bf
BLAKE2b-256 1b3cd6b21a3a2054af7fca56db3498804ad2039158c4c3b7244e05613c9853a0

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp314-cp314-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 65736ab6aff0975453a7d2fac86a281ca6fd7619e2a56107c8cd9484d32e9182
MD5 cd769a82964a014ca173dac59fde18fd
BLAKE2b-256 ec8cb19858475631747f8033bc7c71cbd53136bc5b3760d26e51b23c9d8bff02

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4da1f2bf572ea8dcc9cee0200322f6b4e66aa3327dd2a85df64562dc0e64a517
MD5 cc53da443e30a8bce7d243859490e4ac
BLAKE2b-256 dbdd4985a8e18fcc9a29dd7d980a523cfbe3a9841b6d3da6c2b51a1142e881b9

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 87367dc4b27a8bcf4517605e982a5e1929cfa8aad4102f929c6ff167d11db4d9
MD5 9641b3fb67d21e630be13c6e90c8a667
BLAKE2b-256 87be156f7a66520e5ea93655a3753802502f0ac7419b6585f11482755fc1f8b0

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 607f89658c25944659223bb1d2ebc765b219f5393f7eb5392999b486ec0720d1
MD5 1c88df23cd7a443cb20c515fe29f126f
BLAKE2b-256 113db93227c4a23cde647cf8afae6fc460f7df316c3a9263af2c3f3ce0cfe443

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fed67324c3f706a844a934ddaf0eb51b3e5d7d9cf76133e5853bd3d70d340f53
MD5 94c1ad62701cf8da91b67c526ec9c9e5
BLAKE2b-256 b93d08c91f0277970ba7e8cbc403a50fc82061dd34890a332afd526ff6a6d9bd

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2aca60e22d4e58474a4a64f623800eccc282a6dfb13b98bf6686e57ad74160da
MD5 06e528fbecaebb437ece338af227c9d6
BLAKE2b-256 218f50561a3e5f9033ac3c4984203259224e06d191039ac33e31f7c73eee0333

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ec8a7f1314baa89c8d2da5051fecbd10f18c225bb56ace01e5d45cb6e42cba0f
MD5 5413797020ce404e1b0df803329552d0
BLAKE2b-256 b43637cdaccef161fafbf7ef218f41666c9bf09cd274db3dd154c4b76fc10f4b

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8787ab10393e473f0bb32e961e78832e6a380f1125a95a5585b532d882e12608
MD5 2618b4cdca29e646e0d668db4fb0c8d5
BLAKE2b-256 61321900c2b55fd0c82ff9a7ae9fe4b5fdc30970a6b7cdf7c3717f0e6f4eb413

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 51fb3187b66e4d223fcfa4f684068034b0a51b6141a1bda4bd541b9a12a4c0de
MD5 9f41b945264ba32e7e71a858fafa2d3c
BLAKE2b-256 65addded82ffd5dae766beb54f1a82efef1803750d984764b165b22f01622f8a

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d5affa78a23c29a9de449500013288d9f8918d7eea245e715f419a46e48e70e4
MD5 550562d84e738d91fde498278142b10b
BLAKE2b-256 f899fb14565bcae081e8a0477a005634bf3d133afc93fcf0ac697d3faf932e5e

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9247b7e1134e9a9e3d7407bf05b269722942f0c3602a38a22412eca35227a7bd
MD5 fe650da262faf4c279d19b61025a079a
BLAKE2b-256 81f99c341e99502d4e547d30f31ab61a21124251219561fc73dc73ebf54eb600

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3b4d8a68abbf4b08e408609a83b06d7e8f4e98763bee9e3e1256b94fec277ab0
MD5 4b866bdba9ab91dcb4277b6d3d053fd9
BLAKE2b-256 abc5a696e0140e703e6b19aa86add855e84ac218059ebfd093d41354416a8966

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e347a78d4755d405d924ec26f8396e82dca8cb94ec84cb52abb559a267a595fc
MD5 7903ff9fe7bab3f595f7d3d7290cde0e
BLAKE2b-256 46a1bb98604495ff516e6fc6a5ee4fba065562defa939b307dfeac6a46f096ab

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1d307b533349caf1942b462b5fd683e2427ff33f9ed0812a6da50b55d2a365ae
MD5 2e47703a5886bfc08ae114d4d45b6f2e
BLAKE2b-256 c0fea939514b5e8e0358409dfe2c73590233356a1454a7aa26e014013ded3863

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa0ef8ed8fbe71653d8c35274a088fdd82f9488f4627e3d9897997d11acf9ae5
MD5 16138a18c0350fea9c1848a7b3e0f934
BLAKE2b-256 eb85ccda57c6b230adabc28359c8384956f3f88a209b346445c519a07771a98a

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4e7c4bff9c4164561d54da30aa74a68a7064df4aec82f83d9e613b0f365daef6
MD5 09e04144e690e64aab4bcdb61ead19ea
BLAKE2b-256 aa82779c567647c74653652addab7de419b5ebb25fc11364c00d34c9aff444bd

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1eca1e77a9b6b3e3a82c695ac3371d1bbfb99753e081b3f1adfdcfb0cfd2d50f
MD5 2f1032243213443c7fa7a0433db82a29
BLAKE2b-256 b3ede9d93fe03ddb61d12997800a54689ded2bc24d4bb4d3d3ffb16b98db58c2

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e9cfc6d8bc2bdffd26f07834ecb1ff14f5c547727561322b3abc17ec808514ca
MD5 57a0469a10c5d33ccabec3c5f7257e7c
BLAKE2b-256 c14f3a2dd679898008735601738c3a008c62058d13667ce750ae28e56588cf39

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 908196912239aa1e0cf3a970f69d754b6a5aec67eaa6a6213c207b8abd757e3d
MD5 f58a2512f10bc5423f7bf6c001628d89
BLAKE2b-256 aed8bfb732332529ef298ec1f56ae248c69df97cc26761e181dc4b08be397990

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 affe6b67846185f651c7cc35fff491cbd6b86e09304332a75eab224b653fd244
MD5 042a8ea99942a57491561422e2cf55b7
BLAKE2b-256 7791a4de7ca9edea5e5c441cd6e12b5682206cc299ef33b54d9f7ce857cc6423

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 83970a08bd719ff58a608328f3062cfd32f84cccd4f7eaef194f42cedaf6fcdc
MD5 d4d76aafe568b9daf45b4e948dcc1e10
BLAKE2b-256 bbd30fd54c2c1a0a11909b6be7d0b1b9b9167a20e109820ccb1f152435852aa4

See more details on using hashes here.

File details

Details for the file gamsapi-54.0.1rc1-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gamsapi-54.0.1rc1-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bdff3f00e0a4f735bccfbe80abe176596bc143531d2e058ce70292e5f0fc4fd0
MD5 7ae30a942602bf87f8f7dc070b3fa86c
BLAKE2b-256 0e1c4701c05d5d9f10bd50096f948cfdd740ad509f75c6fdf6eb0baa198148fb

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