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.10.2.tar.gz (18.8 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.10.2-cp314-cp314-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.14Windows x86-64

maingopy-0.10.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

maingopy-0.10.2-cp313-cp313-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

maingopy-0.10.2-cp312-cp312-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.8manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

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

File metadata

  • Download URL: maingopy-0.10.2.tar.gz
  • Upload date:
  • Size: 18.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2.tar.gz
Algorithm Hash digest
SHA256 1fc7110d80362e566716f567b1df9032c63ece23a5eb719ea82596501b0dc849
MD5 52a16fd396f2b6b5469be8d23e846df4
BLAKE2b-256 7aef1a4e0c8c2f9aa5e6c49a7a722731b3c06e955c1641feaa806a6179a7790b

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: maingopy-0.10.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ae62d16698bc3d6adc45d902dc3203a1bdbb85588788bf2fec152ef0569c4562
MD5 c227e82fbb520c4cc0a1f6c55af85213
BLAKE2b-256 cde80d354ecd33755df60a645cf89402fce136e36cba7cd4c7308eeac8ba5dbf

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c12b71020063d150f139b65cb73860f272c388bd3120a45093a1d3acf50fa90
MD5 ecd937d8890a6b81230fe2ac34d033fd
BLAKE2b-256 133523b8c255d572c50859b1b58d358515c65624db62549c3f5aca1e639bb011

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maingopy-0.10.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a920fbbd0c3307c98a6117ed57cb826462ec74b31cac5c3accc82f407fa63150
MD5 f4f231bb65df79b95a2561cfb0f6959b
BLAKE2b-256 b0787aa83bb6b8b58fb41dd6e11770aa7c95db2d4da700aa3d2cd2befefeddee

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1d6d2934d9ea5f789b1260c2f2410cc9a38b1b9f3e9c4b817d894cb912d78306
MD5 e2e2377412853294e7a38a57a48ab10d
BLAKE2b-256 1838b86350166c3ea1b076ed172bc78f66678091ac79148e228ef7ec5a1cf960

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maingopy-0.10.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4977e1d616081d6faa49c6fcd9d76c105a524da4310e02754d55aca9f4eb4a5d
MD5 1d060db3d242f60d2ce3f3e1eca9a9a3
BLAKE2b-256 17e32fba6a21a14a94d02e89cdf70f49a2b7baa69856b6df2671810c74459c09

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77d7867e8e71d4020911fea6261df45881af249eaa755eca043ed0df6af68bb3
MD5 dba2bdc859885825de7bcf6c44a8e2c9
BLAKE2b-256 67d5bc1963493b3f0def19ec5bde365365538fa1805ea6b7426945b593ba26f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maingopy-0.10.2-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.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 da90df6116b44e43c069226bd60432c1281afcceb89b08cf5a1870fd927dce51
MD5 2f9262df5437a500de2c0a6758a792c5
BLAKE2b-256 eb8d6a1c81675cc288a785349eabc88528e1193059b9e43b202511611a0391c9

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b7006b34d842de43c92eaa66b8f55bbe2ef99b8cf6591469d527414312f3a890
MD5 1c404dcd0a863cbf60a31a0a71860951
BLAKE2b-256 4f4cd6b1f75da4670a338408b3835ebca0a728ebf02ef53980ad18fffbc3b7e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maingopy-0.10.2-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.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 720595285fd68a1f32d1dc283d3c288ea32cb69270a1f3453208d2b32581e5ce
MD5 e1c8ffb76058e90afe8050afd17092f5
BLAKE2b-256 7c00d115c8ce99203d2e18859c63496d1ae73c4bcfcf4c8bf1d2f70b8eed7819

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68e7d7778c44f3958a260cb456324a56b53b254a8a761ba32dadfb1577adc230
MD5 bff75a9518b2446f40a0ec6ee3d114f4
BLAKE2b-256 db2648852c83e3359e21745965e9a7c1c85b658028cd561e53203c6dc038a267

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maingopy-0.10.2-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.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e8f8f482d598fce6ff3aee62e6b74524b7528870c6933f95ebba379c7574d633
MD5 126bcf4d339c0630775be3611a0043e6
BLAKE2b-256 fbf368fb88933c54a940e7c4395d67722e17bf687b217f8defdfe39aa86ed1df

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 759d3e8084d79dbd7c1e9e4f915e93ec3d2cdb132f8bca9042a8dbdbc4efb162
MD5 87a57a02fbd7b3862968e28a3ef3fa5e
BLAKE2b-256 2a0207bcfce8e193c7f658ee59620cf2e5e12fe830ff1ac2d8264a51c99ff664

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maingopy-0.10.2-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.2.0 CPython/3.14.4

File hashes

Hashes for maingopy-0.10.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1698ee59861b44966a962fc723cfb2967a1bbcf6f431d9e11b6dbc607d41e4a2
MD5 1c673f3b49bb6aa040b6c79c2d2e4c31
BLAKE2b-256 2eb7ea79c3999bfb008d1ea3b0592a11fdd5dd4ca239bca2d2e56c78d93baa38

See more details on using hashes here.

File details

Details for the file maingopy-0.10.2-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for maingopy-0.10.2-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c4cedfa78c37b753585984fc67bc3d91959484a9edddcf32fcd3a0b4bf4a88ad
MD5 5e00f3b2e4a761f4b243b35bbc174d1f
BLAKE2b-256 dffdf2d8757b3d82f83661a0ae9619660bfade50050da3f129f00da3189c7f1d

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