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 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.8.3.tar.gz (19.0 MB view details)

Uploaded Source

Built Distributions

maingopy-0.8.3-cp313-cp313-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.13Windows x86-64

maingopy-0.8.3-cp313-cp313-manylinux_2_28_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

maingopy-0.8.3-cp312-cp312-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.12Windows x86-64

maingopy-0.8.3-cp312-cp312-manylinux_2_28_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

maingopy-0.8.3-cp311-cp311-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.11Windows x86-64

maingopy-0.8.3-cp311-cp311-manylinux_2_28_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

maingopy-0.8.3-cp310-cp310-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.10Windows x86-64

maingopy-0.8.3-cp310-cp310-manylinux_2_28_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

maingopy-0.8.3-cp39-cp39-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.9Windows x86-64

maingopy-0.8.3-cp39-cp39-manylinux_2_28_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

maingopy-0.8.3-cp38-cp38-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.8Windows x86-64

maingopy-0.8.3-cp38-cp38-manylinux_2_28_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3.tar.gz
Algorithm Hash digest
SHA256 0f56e7c11301f549dfe401cc81ec4db31a443f14032a847f435807bacd1aeb86
MD5 1e4427af9639fbaa0b005c1890a87ba8
BLAKE2b-256 2edbe3dfdbafb6ae5008ab8341ad4e08e71b2be4f972109be25580432cd2b0be

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f1bb60dc27765a70bb0710100ff038bf5d7cbbfa82986b4c7ae3c67754c4006b
MD5 adf512e81b70b2c968de3cd3219c650e
BLAKE2b-256 9f157f621435f980dbe8b2b1b95406fce36067ba0a9862a2dee7f2f60ee6c85e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maingopy-0.8.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b859e12e58e775bb7c38efd0f8cef7e3480a8ae7213cb3aae7f0862e10f8e58
MD5 cef8389ebda7044a534a656880c96040
BLAKE2b-256 901dce86afd9b45dea8640de9bbba8d90e1e69d6ee65779a298d3c4a0f466bbb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 db7a78c942e0a22352e7417193747c1edd6fa3698f5f885c06c778801abecadf
MD5 aadb99d9a91334c7b8c4f1f58a58835a
BLAKE2b-256 07e590c97b6fb3899aa978d12e413079a336c03711d25418594cefe91559b91e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maingopy-0.8.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1646ae2898d7364124feac6f3a978ad1712aa199b845bc33c61225974b7c1b00
MD5 bf592b71a8c2e33f44991dc476ddf3c2
BLAKE2b-256 033ad326fc1c27981a2f7b0f6a436e7511d2adaca691a2ef67fe4b15a8b1f35b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0582f79e49a8a6bc13df936ab144a60a29d2a998441f1c4bd339382808c223ce
MD5 70aea1dd7e349bce209e1563169282d9
BLAKE2b-256 71cb6486a1408768a96a5347b70e4fdd1f8527d158c5ca1f4192a2a1c34c6989

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maingopy-0.8.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55116251cb5c32a09be7005e553a6e7da0f2852107462cbafade2c60dbaa8668
MD5 f54e74796af2c8810585f3ee99c1115f
BLAKE2b-256 242010478878204fc724658ec6c7fa3504e4f1039a5d76d8fb9d9e7bb49be42a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 14f81d5353adc16496eaf9363eea51b5544c9e974ca86e04e7fcfaa18b7b5cff
MD5 2334f9986f740188ba740f0b798f8386
BLAKE2b-256 02cdbd8ff5a9850931b2696c0962404236a3018f83650b6a23d2a3afab04ccef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maingopy-0.8.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dd07a507b622c7605ec3016f5298d15e0f200112cd3bb9bf575e2f512d0d777d
MD5 b7f96be7347f4600f0071b4c3818e462
BLAKE2b-256 45c29837c1ef9c17bb995619e1c452c66dbe0cc75da0c1f40a55d79cac5e76b0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 81c23e86d3628373d9a739483b861a86cab1a6ad37ac237ef70f07ca59abde17
MD5 ef64ea01605c118dafdf6ff16a8d2051
BLAKE2b-256 f5657aae252111a6c13f70e63863b901c181cc77e6c14581483155f7bb8f2117

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maingopy-0.8.3-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e94d226238c1c4cd1ab7ffac69769213ba28f69009814386f829c48aeb29aac
MD5 47cc4ddbbe66a115ddcc02eb944b373e
BLAKE2b-256 4dd0515e5aef48f315f2000285a3e7189b880e625319fc364cd4dbc55ffba840

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for maingopy-0.8.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 38e9f0a204baf7039659ced2c84b470a6b0b2b404cc88854fcb89ff7b05e578c
MD5 41915513d4237ee6ac714e3b35f8e089
BLAKE2b-256 bad2a27e297be692d2e61714e54e70233e59cecc84f41872d6f75109e4df98cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maingopy-0.8.3-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3bd45cce3a2810a5a3dc30bbcb7ba76f896389ba259c5c5cb7433e90918e653c
MD5 e61310ca825795db46a7603de3b0fd56
BLAKE2b-256 d2d05a97176b19705db7c7188ad1f9b1f2084d1cd58b569707bc142241f17fe1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page