Download MIDACO for Python

 Download  MIDACO 5.0 (limited)  together with some example problem.

( All python script names are extended with .txt to avoid browser problems )

Python Gateway

 

midaco.py

 

Library Windows Linux Mac
32bit midacopy.dll midacopy.so on request
64bit midacopy.dll midacopy.so midacopy.so

 

Problem Type Description Example  (Python2)
Example  (Python3)
NLP Continuous variables example_NLP.py example_NLP.py
NLPc NLP with constraints example_NLPc.py example_NLPc.py
IP Integer variables example_IP.py example_IP.py
IPc IP with constraints example_IPc.py example_IPc.py
MINLP Mixed variables example_MINLP.py example_MINLP.py
MINLPc MINLP with constraints example_MINLPc.py
example_MINLPc.py
MO Multiple Objectives example_MO.py example_MO.py

 

More example problems available at:   Benchmarks

 

Python examples using  Parallelization  are available here

 

 How to run MIDACO in Python

Step 1 Download MIDACO python gateway midaco.py and remove .txt extension
Step 2 Download appropriate library file midacopy.dll or midacopy.so
Step 3 Download an example (e.g. example_MINLPc.py) and remove .txt extension
Step 4 Store all files in the same folder (e.g. Desktop) on your PC
Step 5 Run example (e.g. type "python example_MINLPc.py" and press Enter)

 

Screenshot Solution File

  

Alternatively, you can create the MIDACO library manually:

Linux/Mac/Cygwin

gcc -c -O3 -fpic midacopy.c
gcc -shared -lc -o midacopy.so midacopy.o

 

Any problems running MIDACO? Please click here or contact us.