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.1.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.1-cp36-cp36m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

amplpy-0.3.1-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.1-cp35-cp35m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

amplpy-0.3.1-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.1-cp34-cp34m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

amplpy-0.3.1-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.1-cp33-cp33m-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.3mWindows x86-64

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

Uploaded CPython 3.3mWindows x86

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

Uploaded CPython 3.3m

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

Uploaded CPython 3.3m

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

amplpy-0.3.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for amplpy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8b6a114231b57288a5473e6a1462ce6a21d63b2540417dd9692b2d9e289787dd
MD5 2350468e0682efc47ae5d3f08b095b5f
BLAKE2b-256 5e8f274ebc4702341e18388bff85fbcdac2afa957cd09bcaa2090d53a92ce105

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5afa6315e490f3d4699ea55db1edcec7c028312a5b0af61b5a8bf4c5b6a4ff4f
MD5 0e3d041b522474dd3ac18b65c867bdb8
BLAKE2b-256 9fd14c9be9e116f4250a2cdecc017aedcaaa186ec222728905cfa3c5696adf33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 fc659927dcdfe42f085c7106cd6fd1b2599cea2cd57c5685fbdc1cadbf2445c6
MD5 9d6fe1e76c15ba1a67e92c9bbfe3c455
BLAKE2b-256 0003eee5369fa3a4fe3257851577230f560cb2c828bfe44d55246c2e5085c50a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 48224137a28763a3a7d3a03a7ef958c811bbc468320cca78f7b807189d1f961f
MD5 e21fa12a212fca55d5eb562e6e291541
BLAKE2b-256 0600567529152f415c7eb1b20798d9210c167f95a03167450db03a5615a28f73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 efec0dd5c772e287f263b836397e81619eeff404d97b68b5476fd4202440b221
MD5 f8b9a2662020081af3f0dcdb3e3cb6ed
BLAKE2b-256 cee2b8b57d25492ec820bb4c495b869f278d8680299e9e51f804d990e2eef5bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 bcc7f0b5acf0309726b3edc627508c77f32ed49531260348602ef1d5b28ebcdc
MD5 e59f6a5ee472f89ef831d4ff15d25f13
BLAKE2b-256 4d39ca1d406cf137b3b5703cafccfc3e23564f37ce1ea338f0c5645ee1f8472e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e22bd0843cd0d023625040fa6e2bc77b942a4e897849f6989b7e2578bdcd4b03
MD5 74e2298841e2aae2332c86d4fc31759c
BLAKE2b-256 d577e8f49fbddd42957d17a5068616de0a38cfff1b822da85e3d9356f8fd1f30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 e99d05793802ac26e9464dd8f940d6a3ebc53bdd3b41ef665ef056f8cff1730e
MD5 462d86b4472620e1a225e0c42141d462
BLAKE2b-256 d18c1d34a35c90af04d8e5a8b4ac993aab8ac04cac2b1a55bbb197c464c23750

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d117305b6741986a5a0161fdd06e1d423a91738377ce355a0e3726c74a1f501d
MD5 eb1404b7ec9839718c5ca50772898d80
BLAKE2b-256 76eab9ddf744b2aceb8094b17b6b64935edb29927c4ea1c6495b332b4e00e3d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6afb5189507d3d0b5dd48f0c1c036549057dc3f66fca8aac8f8e072d65ab38a9
MD5 09584d9a6cc3ba8a8db149f4c9aa667b
BLAKE2b-256 ff64b06a0db098f9af2a241093551b19f6dcfae058efe70cf5e3c2a757bf95c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f70c2a6436e3082ee406eccd50f12e7ef3dad0ceec86b2ed23e010dfa1c9db6a
MD5 1bb2702171169d58d4c7ccb472e910d8
BLAKE2b-256 1c7302b10794cbeda4ac5b061d11b6e0f835a6737de221cbfda6f75ebda31fcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 3188526becf1c631a51f5f3aae65b73a22367f3afb723dea7d4de3cf378fbec5
MD5 768f9d8d0f4fa894de17497ee4514544
BLAKE2b-256 167d179959b12acdee62efc6676ce73460025ab7c680888cf13a48ae289df9ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 0641f63eeeecd32a9ef2405973c9a3e1c090d2bb836d675fa11091d34a4f8860
MD5 d7d62842ce4f5a221d7c670f2ecd6780
BLAKE2b-256 b5957367c5d42d03382921c256329ac8bdea32addd38a53e894662eb6b157a5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 79738f71f51a7e0efb300558861d20c4518c48b53d80ca03d032c77da4a6ba60
MD5 eaeed516524fbdc398ffa820ee6f8969
BLAKE2b-256 e2ed0051a2a62a6a60c52079777e7d158a7461fdae6f36787b565efbc94b5f4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 02d310141d9293061d2cafe354fc976691cc27f373809cd1ccb8ae39964ba17c
MD5 664a76981d56f13dbdca1115b574d5f9
BLAKE2b-256 3492162514fb8f71e9339346f572f09704477926850609ce382a739e1e9453fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 05fe4445db0eae946345d55806ca4f3241cecc9d3f2f4b3c0fb4a44e9e0826c0
MD5 a7d682693536281e16bf413268e43990
BLAKE2b-256 81652fa003f51b063d97b245b08175cfb0ed41053576fa2d6e9da8d1f4bc5aa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 45844780784f8d14705971acf3bddf04cfc78d4a7dd7b8c8d2d42fe4a0e71cbb
MD5 70cd336b566e83351db95a6db76538bd
BLAKE2b-256 10ec2cb0b167b1e6aa41e0646fbb3c6c9141e24a412f583c031b3b98b67180b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 7f5cd290b5269a24cdc368304c56658dd2fe947d69d95e7eac3986cd87a27034
MD5 3cb4836ccf5bc199a9d6aa9b8a4cdd3f
BLAKE2b-256 631037bc5e63ffeaad15426779a8210394dca375ddefb7c56b581fb8d7b19863

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8d8d6f66260054fc6307ce55c195a92c27486442e1cc84931793b634526e03c1
MD5 41a9feeb0bfe3c3bd17b1a6331e160c7
BLAKE2b-256 ee25b507c7456edc95ef3c7c0bf61a896b1f416c29d5c8af7da69ce539bf5e35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 611814dcab4c6d444e73e9ba3624907f704b0fa9b3c7f993f78e13ad3c09ab8f
MD5 c50fd24a764122cabbee2bc037867116
BLAKE2b-256 472132ae10e92949455b2db59965967136f0d7a353b76420ca4deb65a267c36f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 42452f2f5c9d1e570dbfef62493a95ef4009b2fe0e4726aa32b6360474697bfb
MD5 73216aa0f05283eec149d48a7ab6defb
BLAKE2b-256 6c5ba504693fe048938cd37331d05538cc606990d2970d6b0326df2d877f9fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0b229091670e34b7f578c979dce59e146af86c969e5cb8e4398f260fa125da3f
MD5 60997496d8c8f0e8af5859368ce7e3a3
BLAKE2b-256 ba76f9bcf1cc3503a1e7aab2b344ff6db0cb64c7cb84f003918d1f167ffc7bca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 ec5e002dc6449028710774e2417eedad375896ecd7f766cc102a07c45dad5dcf
MD5 782837488bf2cee8bcb3fda941456178
BLAKE2b-256 be1e0bb2c49f242fa4e070be9805279113881d98725bdd96d41f088156f249b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 2aa5b2142ab2be7e050f55a4c066ad013434fff32f6c64a900ebb00b9784b052
MD5 d171dbc3639f31064ba8b78ae1718e47
BLAKE2b-256 8906f8c0fa591b2faf58f4247aae830aab3a354e8014cb7ba265e41077eea879

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e9c0f1601b3a19ae5887fe4b50dc4174a23ff1671cbb5f4b8261d40617788cb1
MD5 11059fbcf87100939b02529f9f9795b3
BLAKE2b-256 f75cd0009e6f27bdb531fc5d85b11f7b4bfd303b936cb58da50116d0452cd11f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2f2615ae0e96724110f4f087bc45e3e89b1cbf14ba9d9d63945831a91802e881
MD5 823fed825bd59a9a8ba51c0e5517fb41
BLAKE2b-256 951fe0ebeec31dc164112b87d39c253510363e1ee712e3621293ea7174106b25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amplpy-0.3.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 ab0e74687f5bed14df946d2ee89fade528fa5989312e5de5287e4fc5dc924637
MD5 dad60668084daf713bec28f9299a1fc6
BLAKE2b-256 a6e294f83ee3e8d3ef7a1e41a123c905ba5ee06f3a1d2d71d393927eab1f59cc

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