Skip to main content

Python API for AMPL

Project description

AMPL API is an interface that allows developers to access the features of the AMPL interpreter from within a programming language. All model generation and solver interaction is handled directly by AMPL, which leads to great stability and speed; the library just acts as an intermediary, and the added overhead (in terms of memory and CPU usage) depends mostly on how much data is read back from AMPL, the size of the model as such is irrelevant. Functions for directly assigning data to AMPL parameters and sets are provided, which can be used instead of the normal AMPL data reading procedures. AMPL API has been written with usability in mind, and it is easy to access its functionalities from C++, Java, C#, MATLAB and Python.

The AMPL API can function as an add-on to any existing AMPL installation. If you do not yet have an AMPL installation on the computer where you will be working with the API, see our demo page or trial page to download a working version that can be installed quickly.

Documentation:

Repositories:

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

amplpy-0.3.4.tar.gz (8.6 MB view details)

Uploaded Source

Built Distributions

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

amplpy-0.3.4-cp36-cp36m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.6mWindows x86-64

amplpy-0.3.4-cp36-cp36m-win32.whl (9.0 MB view details)

Uploaded CPython 3.6mWindows x86

amplpy-0.3.4-cp36-cp36m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.6m

amplpy-0.3.4-cp36-cp36m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.6m

amplpy-0.3.4-cp36-cp36m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

amplpy-0.3.4-cp35-cp35m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.5mWindows x86-64

amplpy-0.3.4-cp35-cp35m-win32.whl (9.0 MB view details)

Uploaded CPython 3.5mWindows x86

amplpy-0.3.4-cp35-cp35m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.5m

amplpy-0.3.4-cp35-cp35m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.5m

amplpy-0.3.4-cp35-cp35m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

amplpy-0.3.4-cp34-cp34m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.4mWindows x86-64

amplpy-0.3.4-cp34-cp34m-win32.whl (9.0 MB view details)

Uploaded CPython 3.4mWindows x86

amplpy-0.3.4-cp34-cp34m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.4m

amplpy-0.3.4-cp34-cp34m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.4m

amplpy-0.3.4-cp34-cp34m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

amplpy-0.3.4-cp33-cp33m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 3.3mWindows x86-64

amplpy-0.3.4-cp33-cp33m-win32.whl (9.0 MB view details)

Uploaded CPython 3.3mWindows x86

amplpy-0.3.4-cp33-cp33m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.3m

amplpy-0.3.4-cp33-cp33m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 3.3m

amplpy-0.3.4-cp27-cp27mu-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 2.7mu

amplpy-0.3.4-cp27-cp27mu-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 2.7mu

amplpy-0.3.4-cp27-cp27m-win_amd64.whl (9.1 MB view details)

Uploaded CPython 2.7mWindows x86-64

amplpy-0.3.4-cp27-cp27m-win32.whl (9.0 MB view details)

Uploaded CPython 2.7mWindows x86

amplpy-0.3.4-cp27-cp27m-manylinux1_x86_64.whl (11.3 MB view details)

Uploaded CPython 2.7m

amplpy-0.3.4-cp27-cp27m-manylinux1_i686.whl (11.4 MB view details)

Uploaded CPython 2.7m

amplpy-0.3.4-cp27-cp27m-macosx_10_6_intel.whl (9.8 MB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file amplpy-0.3.4.tar.gz.

File metadata

  • Download URL: amplpy-0.3.4.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for amplpy-0.3.4.tar.gz
Algorithm Hash digest
SHA256 ca75b7694f45b63da4d49b31764da6548eec59c15b10771c1d3e363650e5e300
MD5 ea3b5b7814032909c868c84dd9f3bc1d
BLAKE2b-256 c821f8b387234f2135322b7f426c1b46e715048b69c15e2e0dc1ee556ad4a08a

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 33649b72638019fd55bb808d4ee056f2c15ccdc410033aa6a9ff8ffdd7d15b45
MD5 980986f8e5215611bd290d75f4cb77ff
BLAKE2b-256 6f5e07d85a4ad4654ca3074d5f339f3c78c60359d5bbf29e53c7aa02e132152b

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 ac0d725ad444750ab73e9315df132af9bc3222ae4a061a97842f955c99a9aea3
MD5 2a3bc686b51118625b8da64b2447a002
BLAKE2b-256 3b06a7d1b8450d0eb20add456f21890d547db391102e82cf8e4868ed423c738d

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a34fc42becd5af7c0a920844f003621497ab996ae2cdebc69a8993172aba5c1
MD5 331f07588f10dc977602f07840dbcef5
BLAKE2b-256 937df96af1797fd4accf3019b123d2005aa4c9924bbb8e3c5a50741ef2f36462

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9399deb6468e6e16ced7a4156cd1943ee5a142695a832556ec1ce92303622f6a
MD5 05dd7b9b7dd1accc17096a0d65e4b0e1
BLAKE2b-256 ed535b7782a1b1b6bbb8a55a3e097b167bbfb63ca0334f2c7f43a59c3726c699

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c07db1343df8ac14015bef8d3528fc329743cdb2e200f3cb64fb79fe65380bda
MD5 1f7b0b8b8e963555bb2058379afca9c2
BLAKE2b-256 71de804c08548d98aabf9e67d3387ac3f674b7fd670aa0c1f8a11bfa9c058306

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 27dc79a9fed44efc79973e25575cf8f65e8c08d14632825c7a6c29101551f06e
MD5 b85bef91c6b067d7f23d894b4b78bbf7
BLAKE2b-256 f0fa6023353f345d7f525b91914e95cd726e215663667339f08438b96617688b

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 e961d4dce1a6c649b6752f35cdf29defcd270875ea4ec314cc6a68e903610877
MD5 1f896ce79efb4c674689756dcc4e8c73
BLAKE2b-256 096d2a0dca5ad8b611714846b6aba01c9fa6db230c539a69dc0316e85c2e8a1f

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8030bd2e9f191c45f5ac5ff4704545ff9ace30f46d67570f48dfccdcc9736a55
MD5 27ae8892b4ec799a28b8623a0170fc6d
BLAKE2b-256 6d165c44dd4221eaff1946036c20cb8efe73afad77d468767995ecb19621ef4e

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7df2640887c32b1e64c8b266a97f6958aea38410d825ea28b0ffd67adbd737b5
MD5 fc68adeb3b0a85dfb8dcbc01663604ed
BLAKE2b-256 a42d25a4e22aef52e2c64868e4f520f5d698caeac208de10a5c5ac2a390f7ac5

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 442585f4c33476bda55045d3f4894f6f8c0010a7e91c01852c68374c21a8bb80
MD5 c82ef7ccc39fa4ea01635ef18b6b139e
BLAKE2b-256 ed046690c1889a2d9323f7d9c5e91159ed5d9f9acf54075196bde07ea473a97d

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 24f5c4037adfda61bc28e108d93439b5ac4c9dd7b24af6f3d20b19938ec21a3d
MD5 e38d8003f98005cc92b22daefbac7534
BLAKE2b-256 12cb801a46eea8d4ab9cfc0019bc1c1adf700b3c7d91f87c3527f5ba66364e27

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 7976a96f127f39e38f32081439abd1260c583020a8d9cf17c200fefb8e361dfd
MD5 b2d7ce247bac4200727ae38816fcd88c
BLAKE2b-256 5d455b93ed87437e5a3f115cba20efebde3362f39ee43ed39ef72bb8f52aa6ed

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e9764006103d0439cdb1beb8b443aa86ce85e6ec349afffc575613716c2887eb
MD5 544cbfa3787ed72c8a2cff0cc760e657
BLAKE2b-256 8d701c96a5a31da33a9dbaa0bf8b8393edb7ce164ea891f5f416fdabb85041d4

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5c568b84c590a01485d9420cd17c91aa29e1c8188951fee44ca0f054727f210b
MD5 323e0d02e10cce5da1b97329d27c19bc
BLAKE2b-256 6e6eb60c27b66a14de973f4d0519a203e8ed29cb7721dad331df19a8c83d965a

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 61db2618fcb2c26aace20650e4d80a4204e2177bafaf5825d4d96fe7954ce0e4
MD5 9ae1006397a54e796604d3e33bdf7d66
BLAKE2b-256 97ea86dee32d0570b4cc7fc2700a990b1e5562857f7e3f10cae7ebd3b27e5551

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 7385b68432ee0f109d5fa0214c5184bde043f6b0fb9c2bb8924de87e5538cd8d
MD5 a3e21be4904f679b04faec62b1e0cc74
BLAKE2b-256 83eb092d1b015b00a664e02bc09ffeb68c676bf4191b5a7b9ba927195e3f863a

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 de809c2f94b3a94e857901ae642806f09140caa665cd70c7b6e3d36a68b726c9
MD5 0af6f12c5990bd2b5e1a920e488a8bbf
BLAKE2b-256 aed02b762dc5e296f9b1e408618a62baf8b16502eb7384f219fabf8d5db051bc

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 53472ac508c2da63240df834f7bae8a6bd8e205b5076b34b6a3bce87fc937d44
MD5 78ce51ee0f812498dde0211546463e42
BLAKE2b-256 975c36006f4b7a08ebf9b15f260ee3b5d730e0f3e7b5b1867df239a40d090643

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d95a2428c200be365d9bed5de0e8b4945b22f6f13d628036ffefc6b81b4030e2
MD5 dc33743e0908e6e2b38622a61bd4e1c7
BLAKE2b-256 3ea66ed8e97fba1421cec91e708c6c615f64594b06913a3f1a31bae128762f65

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 defe2cbee08bf44e5878d9856487f1bd9b6c4921901cadfe793648dc75fb4fa2
MD5 256e7495a740c69660216da0c451c2d5
BLAKE2b-256 e11fcd35dc00dabd583e80e54b331af482f07167a8d92ec25f8e1210daf030eb

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 705aaf325c51e5da10350e87e0c7e20ffca3bc44f9ba75ba15ad13c445eba4c5
MD5 a0f7a119c68d0cc8b5f9540095a7318e
BLAKE2b-256 930feaab585f6c00a5268ff18ec298da084f3cf223358db99eb540367e844ebf

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 1951dfe24581c93265ace01cc49be5fc35582942bb35ab3cec9b7d9b98493972
MD5 276ee8c369e7ffaf24fe631371c898e6
BLAKE2b-256 67989a1a58bc13175b9318a7cdaa9def018fb5b5a7396fffdf823ee1cb62b5bd

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 8800fd4403f6bc0ce335c5cb2f7d7ce899a5d825fa116a2c848ce8250f7b13b7
MD5 5306129a44e0b832d7ace46b772c12cb
BLAKE2b-256 9ad28f69982f8e21c8f5cae9f11caaf20fe8976dffefeb89be65b1aba7dabd6a

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7cb43ce0e33ec912b7489369194c14e1daf3d4c1428eddbcab30c7445ae76930
MD5 353d6679643dfec815b28c187ee7d8dc
BLAKE2b-256 6861958786ce3161e0c5a40c29e1b72fee71e8b8fcf9e736be5ddf8517bcf29b

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 adcba522ed2eb3764cec477ea2397d3a19733984366d17a56d92187d822b8b87
MD5 5b35327653aacad5aa535f35115dc1bf
BLAKE2b-256 a825a3a2aebacf88c5ba2ba1689c5ea714650a7f39db01aee3d5306d720413e3

See more details on using hashes here.

File details

Details for the file amplpy-0.3.4-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for amplpy-0.3.4-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f9d42a43f8eda56fa429d416055b7a2d52f1b2cf88127906d71f6a3ab3217659
MD5 210cd8e661a225879a410967bfc4a27e
BLAKE2b-256 34ddd83fcfecdb6bf6aa0448525cd986f8d9fc7a1cacb15cd1e64b7f85eb1988

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