Skip to content

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++

Download

Example Problems

Problem TypeDescriptionCC++
NLPContinuous variablesexample_NLP.cexample_NLP.cpp
NLPcNLP with constraintsexample_NLPc.cexample_NLPc.cpp
IPInteger variablesexample_IP.cexample_IP.cpp
IPcIP with constraintsexample_IPc.cexample_IPc.cpp
MINLPMixed variablesexample_MINLP.cexample_MINLP.cpp
MINLPcMINLP with constraintsexample_MINLPc.cexample_MINLPc.cpp
MOMultiple Objectivesexample_MO.cexample_MO.cpp

Makefiles

SystemCompilerFile
Linuxgccmakefile
Linuxg++ (C++ example)makefile
LinuxIntel oneAPI icxmakefile
macOSclangmakefile
WindowsMinGW-w64 gccmakefile

How to Run

  1. Save midaco.h, the library file and an example in one folder
  2. Compile and run the example in this folder
    gcc -O2 -o run example_MINLPc.c midacoc.a -lm
    ./run

Screenshot and Solution File

Console output of example_MINLPc
Console
MIDACO_SOLUTION.TXT of example_MINLPcMIDACO_SOLUTION.TXT of example_MINLPc
MIDACO_SOLUTION.TXT