Skip to main content

A Python package for using MAiNGO - McCormick-based Algorithm for mixed-integer Nonlinear Global Optimization

Project description

maingopy - Python interface for MAiNGO

Maingopy is the Python interface for MAiNGO, the McCormick-based Algorithm for mixed-integer Nonlinear Global Optimization. MAiNGO is a deterministic global optimization solver for nonconvex mixed-integer nonlinear programming problems. For more information on MAiNGO, please visit the MAiNGO website. The open source version of MAiNGO is available on our GitLab page. The documentation of MAiNGO is available here.

Obtaining maingopy

Maingopy can either be obtained as a source of binary distribution via PyPI or built from source via the git repository.

To obtain it via PyPI, run

$ pip install maingopy

This will typically get you the binary distribution of the maingopy package that contains a pre-compiled version of MAiNGO along with its Python bindings, as well as an extension module for MeLOn, which contains machine learning models for use in optimization problems to be solved by MAiNGO.

Note that the pre-compiled version of MAiNGO contained in this package does not allow the use of

  1. the optional closed-source subsolvers CPLEX, Gurobi, or KNITRO, even if they are installed on your system,
  2. the MPI parallelization of MAiNGO.

To use these features, you will need to build maingopy from source. In this case, please obtain the code from our GitLab page and follow the instructions provided there.

Using maingopy

Maingopy provides Python bindings (enabled by pybind11) for the C++ API of MAiNGO. Details on how to use it are available in the documentation of MAiNGO. Example problems can be found in the examples directory in the MAiNGO repository.

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

maingopy-0.9.1.tar.gz (19.2 MB view details)

Uploaded Source

Built Distributions

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

maingopy-0.9.1-cp313-cp313-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.13Windows x86-64

maingopy-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

maingopy-0.9.1-cp312-cp312-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.12Windows x86-64

maingopy-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

maingopy-0.9.1-cp311-cp311-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.11Windows x86-64

maingopy-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

maingopy-0.9.1-cp310-cp310-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.10Windows x86-64

maingopy-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

maingopy-0.9.1-cp39-cp39-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.9Windows x86-64

maingopy-0.9.1-cp39-cp39-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

maingopy-0.9.1-cp38-cp38-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.8Windows x86-64

maingopy-0.9.1-cp38-cp38-manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

Details for the file maingopy-0.9.1.tar.gz.

File metadata

  • Download URL: maingopy-0.9.1.tar.gz
  • Upload date:
  • Size: 19.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1.tar.gz
Algorithm Hash digest
SHA256 67eca6ecf9f1561acdb8952318b44a5ab47e632ef476b7d1d8de0ce7efc954cb
MD5 347a65c810c803463505f505b27a4988
BLAKE2b-256 7c1e32229cf7daa7951818489b1263b203ed2d18133ee0060d92312217a52df7

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.9.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5e99c5a9d67d9aef28cacf45177bbbae8cc8e474e426a212f37d3f04ce87ba59
MD5 10ac30b8cd1daeb2ccb9bd68d8e71bb0
BLAKE2b-256 9a2913b2b790efcdd7a6972e95034f2e456c605c3b70e959252e3e103488f381

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80dcc773e14de525e3871d249e8a5150042b1292a51fd8d2a83cc213de89d85d
MD5 31a19bdeb088e8b51a9d1cd68effbc93
BLAKE2b-256 4a881832b69f9bf3934ae8762975949c16e98b32b08a8ca6c37a6dffcae4e1af

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.9.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5dc31b64987b10df11c78b177d20fd591a2a1257c13469e76aa7f616b8e9ced4
MD5 40b249d36260389e303f17e5a2a54e0f
BLAKE2b-256 278293f0c820ca8b9d5a61296f270949d3199568c27c20fadb6506fe0f1b4517

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 60baea6c50e33ec7d2b5f2cf504c439265e9e68bf7144ba936838b42a3354e2f
MD5 78c9f7385110c620c4e9e6c70716dbc8
BLAKE2b-256 f7230230a763a20cc610d601224d49ad1b9f765ab8885b288546067f3ec8acf1

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.9.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 355c54131c174c5ba1f135c009c4ac051033123ac3657e16dce7e6d9da8631fc
MD5 29f2e4d8901811ddb4ba3c78d3b4576a
BLAKE2b-256 1850b187d67269b228aa62a9cf7d6b796c73a141db7c8e2b69ed7b1a08644935

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e513c427e356242578cdc295a47b2542d28352dc0b228cc61867db97f90a12e
MD5 74a79fef170b38d358098c3d9bdc2542
BLAKE2b-256 0b5b7e2200386baeed5d7a03ff12e1d2676b7526a4a05a89efed320854ca57ab

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.9.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e7f4b06b60c6721bba3dec646d5e62dd0149b2d250747b27bfb61954c7230a74
MD5 7b2625030c4362caf60b1b93156828cc
BLAKE2b-256 63e97425167317f3c1e5b793d7a02ed6ded7a3bf2a7e62aa1d4a1d32a604475e

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa688648c7be348970f21f0cca7eb27936466fe1cac4afa3c50bde1e39c852f6
MD5 07c26a9769f0c8b8376c7f1031d5963e
BLAKE2b-256 7eacf04cc194d4f17f9cda5a450743026ae27d0a876e6d3378d3f7c684fe377a

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.9.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bfa59662a6f085f369fbdf7e6d9a2119d91f4404898e2cbd8b3c26b90981dcc2
MD5 fe85a1dfb3377349b2bbedc3f0db6df3
BLAKE2b-256 dbdebc37a878454e664183294c4c99bf8007c2b885ea28c9568a2bc1fb7a3b2c

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.9.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 757a41d86408c45ebf44e709ecae26c969a950696ee8937db88ed92ae610fcc2
MD5 0f518c4afbbecf25a5587dde7db08eed
BLAKE2b-256 f0fe48756941d3cea93fc19bd35efadcd4989b6b3b6bf74d2285fbabef592522

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.9.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for maingopy-0.9.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8bfa76e0c2b57f814b3f85101b6768bdbe65807c8c8dc678cd5be58062e5ffbd
MD5 dc0998faf5f4c801441bc7d155920dfb
BLAKE2b-256 3612aecb7965c0db4e33c40508c7e773b271f6f8c722684d73ebe3cb9a32a4d7

See more details on using hashes here.

File details

Details for the file maingopy-0.9.1-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.9.1-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f81d4c229a52cea45eccba39358c0a15e8a472af3eedfa9f35e4bb557b6ce62
MD5 ac6f8336b2fe8fe7b9907380af7a2fca
BLAKE2b-256 1ba1993dc4939aff74cc27bcc51a13b942791bde486f1162ac790420a4f917a5

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