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.2.tar.gz (2.9 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.2-cp36-cp36m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.6mWindows x86-64

amplpy-0.3.2-cp36-cp36m-win32.whl (3.2 MB view details)

Uploaded CPython 3.6mWindows x86

amplpy-0.3.2-cp36-cp36m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.6m

amplpy-0.3.2-cp36-cp36m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.6m

amplpy-0.3.2-cp36-cp36m-macosx_10_6_intel.whl (4.0 MB view details)

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

amplpy-0.3.2-cp35-cp35m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.5mWindows x86-64

amplpy-0.3.2-cp35-cp35m-win32.whl (3.2 MB view details)

Uploaded CPython 3.5mWindows x86

amplpy-0.3.2-cp35-cp35m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.5m

amplpy-0.3.2-cp35-cp35m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.5m

amplpy-0.3.2-cp35-cp35m-macosx_10_6_intel.whl (4.0 MB view details)

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

amplpy-0.3.2-cp34-cp34m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.4mWindows x86-64

amplpy-0.3.2-cp34-cp34m-win32.whl (3.2 MB view details)

Uploaded CPython 3.4mWindows x86

amplpy-0.3.2-cp34-cp34m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.4m

amplpy-0.3.2-cp34-cp34m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.4m

amplpy-0.3.2-cp34-cp34m-macosx_10_6_intel.whl (4.0 MB view details)

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

amplpy-0.3.2-cp33-cp33m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.3mWindows x86-64

amplpy-0.3.2-cp33-cp33m-win32.whl (3.2 MB view details)

Uploaded CPython 3.3mWindows x86

amplpy-0.3.2-cp33-cp33m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.3m

amplpy-0.3.2-cp33-cp33m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.3m

amplpy-0.3.2-cp27-cp27mu-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 2.7mu

amplpy-0.3.2-cp27-cp27mu-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 2.7mu

amplpy-0.3.2-cp27-cp27m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 2.7mWindows x86-64

amplpy-0.3.2-cp27-cp27m-win32.whl (3.2 MB view details)

Uploaded CPython 2.7mWindows x86

amplpy-0.3.2-cp27-cp27m-manylinux1_x86_64.whl (5.5 MB view details)

Uploaded CPython 2.7m

amplpy-0.3.2-cp27-cp27m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 2.7m

amplpy-0.3.2-cp27-cp27m-macosx_10_6_intel.whl (4.0 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for amplpy-0.3.2.tar.gz
Algorithm Hash digest
SHA256 76ee581d5c8b309c5f1ec8a71b7ef68743c78454eddedda9ae8565f4ce19e2e3
MD5 b27d1421f374b8c7e4d1fd78f8f43e5f
BLAKE2b-256 2c7a6a69898287491d70b8afc0f0d49ee681887171780becc80e9d0bfd513798

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4633fe243c80f0ddafe4501818854410ae202c4c2c56be7eb9eebc2aca9ddce8
MD5 72eb3127447b76cd238136f58d84251c
BLAKE2b-256 b0c5c5ec3c3e8087d05d82297f80d8cbcef8096a6fb1f000631afb50822bd6b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 dcbb0a1adbcf9797bf83b2ec2c568b15ba1b18728bd96a4ad11f1d909fa20d7f
MD5 2a0f708ff178c609eafb0e935296f6d0
BLAKE2b-256 08ecf38745deaa786e5a478f36fc10aef2406c0078fe11030628d94a2183244a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 105b6759adc186bd63dbc3815665affd9bd8e9818129dc84f1980453206d262a
MD5 c2b72f53b45540877b904e02e734411b
BLAKE2b-256 dc03e654c27286834f9c3c0d031c95539f58839f6dd580de835c857c0714b8eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 816e6609983f9d3ff4fffafc06bcdb65603c8bf46a71a14e5c29eaa825960d37
MD5 6ce6ce9b16680c2781e7f31257d3492b
BLAKE2b-256 d1ae7f85aa2ac85f1d76963dca4ddef5cf9764d45dca5aa6e0350e21246f3168

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 b315bc88d5a90c347d72313fdd812825f23ad0cfbc863762e732dc3068885399
MD5 675417d8b64b433577c681333daabc5b
BLAKE2b-256 1669363f996ce9e62ebd9d5cf49f5771e5a02acd8dbd22cda1f278e89a5319c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 290612436cd227a0a51ff9d819d0bea8914cb617fa14ef5e3d79d545ebc92fff
MD5 c6a0dc64ee4bcbb1bea4c5a8411f9368
BLAKE2b-256 9c95e08b5ba551b1d072c43fb6bb79af30c863d3907f1e0bf0fadc1b2bbb2d2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 d5b407b71f302d5eb04994138387c3c0e1c9225451af90e74b8a11cd2912fe36
MD5 41dd8e1d6015cb043995f267b05c9f2c
BLAKE2b-256 6cebbebf524c75f3ff6cbd924b4c6907b80e1740abe100a61991bdb86a4172b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c3f4bec2ebd745da96d1359249f9c7e9302e6b0da9f8f8f1b8509e644a25cba2
MD5 42f4fcc519b32f7da670c6bbd1c1f19c
BLAKE2b-256 e1918ff4ee5351b3871e555555f8799f06e4e9fb0ee3b997376583fdbe41474d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8d69b01b5ebb52e4753dd113b8770f2d3ad230688ba77e09e662eff1e16be195
MD5 1874ef8d43d1d37d307a4616ed4cacab
BLAKE2b-256 1466199113550d6065328c485c25a34f96f7b451094e473497c18c689f9e24f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 82a6e39954294fa52f63bb0fdc32ed1f2f2fbe5b1f919a03b88b2b9524ccedc1
MD5 c0fbf7c0e12a25fde87374b6ff99420c
BLAKE2b-256 ca3faf75bec70abfa7b9926869d4600a15cb4b5eb4323f29db4d1c1a7084d02b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 9ac2a9933863389619110d5e69fe496d5a378f9eb82b8909fb3a344cc98e4570
MD5 055281e0e3e25b17f2b7779efdf24527
BLAKE2b-256 243a0ad5ad8c04b80308f4d43e72fef74cb894076ad2306dd3122e575ecfd037

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 5b3fd218fa9186976caad0699fbb3e20a82d661371a4f76b6aee492faf1960ef
MD5 87927d87a010b2243705c7fed7a32b4a
BLAKE2b-256 6dbc9392341b6698ee8bd2da8e79144c7357819049e4e7d1ec8b8239ee751a9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 06c2f70ba1140e44a5be20c9a1dbd6db743b9a47795b301e5442f7e693e8fb80
MD5 69dc9c04f9dea9598864d96300639d89
BLAKE2b-256 cc05453a83bf6f1ffc919d8d67c81c871ca96111e1e9dee47aa002d807ece9c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0df1babffd0cd30da0bffaf74af5c63485034f912277790f592576ee121fa042
MD5 f44c1e12bb799add973c73865c47cdb8
BLAKE2b-256 3fc7f58dcc85a38a8d64e93b0447ebe7c8a180b299c8de5000bdbbd53b86f366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ec61dcbde1efd4905ebb23e722eb84efc127e854c2fa4bf2282d24280ff46ba8
MD5 3d349e77eaa66e9fbbf7ad2e6ffe9f4d
BLAKE2b-256 123dd55ab9b340c425c6c6aee58c1ca4460850bb6d0673484eba231171eeca6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 49b8f82204454029f0958076d9b9193a55c546036b8e66dfe90ddfc481047dfc
MD5 ded7b0766e3deaef92484d7fb3c9f175
BLAKE2b-256 6f4d0743ae358d7c270f1d8a580e7f2c325280484bf84901a0107316f908c736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 6661af00d76838f8c2ebbeb1783a51409c46721792261f06114be8d760ce5270
MD5 ca7e49ff861fe3c2419e9ade1a9d0ceb
BLAKE2b-256 6ddb4e10eccf53eec178ffd9778f02e1e432f993c56c2262416c720ada51d5a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 91d6e84e0947a86525ff3878c3ce2bdb0b6b6b39c38e6d3c3e1f7b4d5a1858e6
MD5 1b95048ab4781f0bfb34e80bc54223bf
BLAKE2b-256 f729b56be055306f0d4da194c83257a3aa6279849218d5ff04046fb90c2754a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c74d86add65c01e61c0a45a8550695f607b4eba0469edad81a3a3ebb8cd84840
MD5 6dfcd35848399e31e703b3640eaf07d1
BLAKE2b-256 23ec61c6a8ebb2210ed5a5b2e62da027d910d8b2654ebe22d41f1b47155d955e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1ac54c6ff2d47262a88ee6f9c168a083037f08c7d10cfa6aecafbeead50eec97
MD5 7c518c157af7a36329d3d6371c19e84b
BLAKE2b-256 49ce37251a5928313a3aefb816fd3ecded9e25f48bfb8afb3b371f3b487f81f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ecc731a4a918ad6a91176dfe7ff76bdc6df0de9c712893833772ba1fd857844d
MD5 2c8bfe10674173c223dfaf744f44e82a
BLAKE2b-256 139b3521124f52028eaedb7446ea4666d645bbdc2a0c88074d8a86e23ac0851c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 6e3eeb66994e0e4f46e98974e7b81b25e51584bb0656e717b2d00b187cc8c02d
MD5 71617e5b8126af07fc3efab3c4fd6200
BLAKE2b-256 3036b75773498059a921c8aff0a442722981b55e876baef342cae4f25866a96f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 5b2d485f4a184c7ca8c5bee47d12428873e8eb73007d617b216e90d3a52c96b2
MD5 09618b0984b1377bf9bc62207e479619
BLAKE2b-256 278cb891fdcdbb9209d9c5c6d40c1a51342c47b5ba81894c0733416eb9ccd9f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4f75e3871bade7b10a2497fb97af90925ae3128b4273d7f134c7f1bf5d389711
MD5 d00d644cf2eec27429ca172091de2968
BLAKE2b-256 85449e2f7a4660b0e6ba82c6076d023b8fb317b06e1a7ff1f5e2868e31e66115

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b5ddfacb0e8f3dd3e8a46d6007567c7ad59f33f185825e0236d9e7f091b47b9e
MD5 977674c95ccef7d31605cab28d0387e9
BLAKE2b-256 b7e3264a3de647ced72b64b61ed79c79d39d27e10e8fdfd6f7a9fb38e05846f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 03ae098bed326d35d686f0e462534d3758c7c0dd5200e4f8a467204c3ff10bda
MD5 d5f195ea63aae4a6e21b80eba68ae49c
BLAKE2b-256 de25dc6feedf2c3a9b2172463ffedff0eb5cdd5c2c6b65706dad862852d8178d

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