Skip to content

MIDACO 6.0 Legacy Support

User ManualMIDACO 6.0 User Manual

Here you can download all template examples for MIDACO 6.0:

Topic
Single-Objective
Multi-Objective
Parallel
Gateway and Build

Six templates per language: continuous, integer and mixed integer problems, each without and with constraints.

MATLAB / Octave
example_NLP.m Continuous 5 KB
example_NLPc.m Continuous, constrained 5 KB
example_IP.m Integer 5 KB
example_IPc.m Integer, constrained 5 KB
example_MINLP.m Mixed integer 5 KB
example_MINLPc.m Mixed integer, constrained 5 KB
Python
example_NLP.py Continuous 5 KB
example_NLPc.py Continuous, constrained 5 KB
example_IP.py Integer 5 KB
example_IPc.py Integer, constrained 5 KB
example_MINLP.py Mixed integer 5 KB
example_MINLPc.py Mixed integer, constrained 5 KB
C
example_NLP.c Continuous 7 KB
example_NLPc.c Continuous, constrained 7 KB
example_IP.c Integer 7 KB
example_IPc.c Integer, constrained 7 KB
example_MINLP.c Mixed integer 7 KB
example_MINLPc.c Mixed integer, constrained 7 KB
C++
example_NLP.cpp Continuous 7 KB
example_NLPc.cpp Continuous, constrained 7 KB
example_IP.cpp Integer 7 KB
example_IPc.cpp Integer, constrained 7 KB
example_MINLP.cpp Mixed integer 7 KB
example_MINLPc.cpp Mixed integer, constrained 7 KB
Fortran 77
example_NLP.f Continuous 7 KB
example_NLPc.f Continuous, constrained 7 KB
example_IP.f Integer 7 KB
example_IPc.f Integer, constrained 7 KB
example_MINLP.f Mixed integer 7 KB
example_MINLPc.f Mixed integer, constrained 7 KB
Fortran 90
example_NLP.f90 Continuous 7 KB
example_NLPc.f90 Continuous, constrained 7 KB
example_IP.f90 Integer 7 KB
example_IPc.f90 Integer, constrained 7 KB
example_MINLP.f90 Mixed integer 7 KB
example_MINLPc.f90 Mixed integer, constrained 7 KB
Julia
example_NLP.jl Continuous 4 KB
example_NLPc.jl Continuous, constrained 5 KB
example_IP.jl Integer 4 KB
example_IPc.jl Integer, constrained 5 KB
example_MINLP.jl Mixed integer 4 KB
example_MINLPc.jl Mixed integer, constrained 5 KB
R
example_NLP.r Continuous 5 KB
example_NLPc.r Continuous, constrained 5 KB
example_IP.r Integer 5 KB
example_IPc.r Integer, constrained 5 KB
example_MINLP.r Mixed integer 5 KB
example_MINLPc.r Mixed integer, constrained 5 KB
C#
Example_NLP.cs Continuous 6 KB
Example_NLPc.cs Continuous, constrained 6 KB
Example_IP.cs Integer 6 KB
Example_IPc.cs Integer, constrained 6 KB
Example_MINLP.cs Mixed integer 6 KB
Example_MINLPc.cs Mixed integer, constrained 6 KB
Java
Example_NLP.java Continuous 6 KB
Example_NLPc.java Continuous, constrained 6 KB
Example_IP.java Integer 6 KB
Example_IPc.java Integer, constrained 6 KB
Example_MINLP.java Mixed integer 6 KB
Example_MINLPc.java Mixed integer, constrained 6 KB
Excel
example_NLP.zip Continuous 7 KB
example_NLPc.zip Continuous, constrained 7 KB
example_IP.zip Integer 7 KB
example_IPc.zip Integer, constrained 7 KB
example_MINLP.zip Mixed integer 7 KB
example_MINLPc.zip Mixed integer, constrained 7 KB
VBA
example_NLP.xlsm.zip Continuous 65 KB
example_NLPc.xlsm.zip Continuous, constrained 65 KB
example_IP.xlsm.zip Integer 65 KB
example_IPc.xlsm.zip Integer, constrained 65 KB
example_MINLP.xlsm.zip Mixed integer 65 KB
example_MINLPc.xlsm.zip Mixed integer, constrained 65 KB
Text-I/O Linux
example_NLP.py Continuous 6 KB
example_MINLPc.py Mixed integer, constrained 8 KB
example_ADVANCED.py Advanced options 10 KB
Text-I/O Windows
example_NLP.py Continuous 6 KB
example_MINLPc.py Mixed integer, constrained 8 KB
example_ADVANCED.py Advanced options 9 KB

A multi-objective template per language and benchmark problems from the literature.

MATLAB / Octave
example_MO.m Multi-objective template 5 KB
comet.m Comet benchmark 5 KB
schaffer2.m Schaffer 2 benchmark 5 KB
zdt2.m ZDT2 benchmark 5 KB
Python
example_MO.py Multi-objective template 5 KB
deb.py Deb benchmark 5 KB
spherical.py Spherical benchmark 5 KB
zdt1.py ZDT1 benchmark 5 KB
C / C++
example_MO.c Multi-objective template 7 KB
example_MO.cpp Multi-objective template 7 KB
deb.c Deb benchmark 7 KB
fonesca.cpp Fonseca benchmark 7 KB
viennet.c Viennet benchmark 7 KB
zdt1.c ZDT1 benchmark 7 KB
zdt2.c ZDT2 benchmark 7 KB
zdt3.c ZDT3 benchmark 7 KB
Fortran
example_MO.f Multi-objective template 7 KB
example_MO.f90 Multi-objective template 7 KB
kursawe.f90 Kursawe benchmark 7 KB
zdt3.f ZDT3 benchmark 7 KB
Julia
example_MO.jl Multi-objective template 4 KB
R
example_MO.r Multi-objective template 5 KB
comet.r Comet benchmark 5 KB
kursawe.r Kursawe benchmark 5 KB
schaffer2.r Schaffer 2 benchmark 5 KB
zdt2.r ZDT2 benchmark 5 KB
C#
Example_MO.cs Multi-objective template 6 KB
fonesca.cs Fonseca benchmark 6 KB
kursawe.cs Kursawe benchmark 6 KB
schaffer2.cs Schaffer 2 benchmark 6 KB
viennet.cs Viennet benchmark 6 KB
Java
Example_MO.java Multi-objective template 6 KB
deb.java Deb benchmark 6 KB
fonesca.java Fonseca benchmark 6 KB
viennet.java Viennet benchmark 6 KB
zdt1.java ZDT1 benchmark 6 KB
zdt3.java ZDT3 benchmark 6 KB
Excel
example_MO.zip Multi-objective template 6 KB
VBA
example_MO.xlsm.zip Multi-objective template 56 KB
Text-I/O
example_MO.py Multi-objective template (Linux) 8 KB
example_MO.py Multi-objective template (Windows) 8 KB

Templates that evaluate several solutions at once, with the parallel tools of each language.

MATLAB / Octave
example_parallel.m parfor 5 KB
Python
example_parallel.py multiprocessing 5 KB
example_dask.py Dask 5 KB
midaco_dask.py Dask gateway 12 KB
spark/midaco.py Spark gateway 13 KB
spark_setup_commands.sh Spark setup commands 6 KB
run_example_on_spark.sh Spark run script 1 KB
C / C++
example_OpenMP.c OpenMP 9 KB
example_OpenMP.cpp OpenMP 9 KB
omp/makefile OpenMP makefile 2 KB
example_MPI.c MPI 11 KB
example_MPI.cpp MPI 11 KB
mpi/makefile MPI makefile 2 KB
Fortran
example_OpenMP.f OpenMP 9 KB
example_OpenMP.f90 OpenMP 9 KB
omp/makefile OpenMP makefile 2 KB
example_MPI.f MPI 11 KB
example_MPI.f90 MPI 11 KB
mpi/makefile MPI makefile 2 KB
Julia
example_parallel.jl Multi-threading 5 KB
R
example_parallel.r dopar 5 KB
C#
Example_parallel.cs Parallel.ForEach 7 KB
parallel/Midaco.cs Parallel.ForEach gateway 51 KB
Java
Example_parallel.java Fork/Join 7 KB
parallel/Midaco.java Fork/Join gateway 9 KB

The gateways of MIDACO 6.0 and the makefiles to compile the templates.

MATLAB / Octave
midaco.m Gateway 35 KB
Python
midaco.py Gateway 12 KB
C / C++
make_gcc/makefile Makefile gcc 2 KB
make_gpp/makefile Makefile g++ 2 KB
make_icc/makefile Makefile icc 2 KB
Fortran
make_gfortran/makefile Makefile gfortran 2 KB
make_ifort/makefile Makefile ifort 2 KB
make_f95/makefile Makefile f95 2 KB
make_gcc/makefile Makefile gfortran with gcc 2 KB
make_gpp/makefile Makefile gfortran with g++ 2 KB
make.bat Windows batch file 1 KB
Julia
midaco.jl Gateway 11 KB
R
midaco.r Gateway 36 KB
C#
Midaco.cs Gateway 49 KB
Java
Midaco.java Gateway 9 KB
Text-I/O
blackbox_source.zip Blackbox example source 2 KB