Download MIDACO 7 for C/C++
midacoc.a Limited Version
MIDACO 7 C/C++ Library File
midaco.h
Header File – the same for C and C++
Example Problems
| Problem Type | Description | C | C++ |
|---|---|---|---|
| NLP | Continuous variables | example_NLP.c | example_NLP.cpp |
| NLPc | NLP with constraints | example_NLPc.c | example_NLPc.cpp |
| IP | Integer variables | example_IP.c | example_IP.cpp |
| IPc | IP with constraints | example_IPc.c | example_IPc.cpp |
| MINLP | Mixed variables | example_MINLP.c | example_MINLP.cpp |
| MINLPc | MINLP with constraints | example_MINLPc.c | example_MINLPc.cpp |
| MO | Multiple Objectives | example_MO.c | example_MO.cpp |
Makefiles
| System | Compiler | File |
|---|---|---|
| Linux | gcc | makefile |
| Linux | g++ (C++ example) | makefile |
| Linux | Intel oneAPI icx | makefile |
| macOS | clang | makefile |
| Windows | MinGW-w64 gcc | makefile |
How to Run
- Save
midaco.h, the library file and an example in one folder - Compile and run the example in this folder
gcc -O2 -o run example_MINLPc.c midacoc.a -lm ./run
Screenshot and Solution File
© Schlueter Research. All rights reserved.ImprintPrivacyDisclaimer


