Skip to content

Download MIDACO 7 for Fortran

midacof.a Limited Version

MIDACO 7 Fortran Library File

Example Problems

Problem TypeDescriptionFortran77Fortran90
NLPContinuous variablesexample_NLP.fexample_NLP.f90
NLPcNLP with constraintsexample_NLPc.fexample_NLPc.f90
IPInteger variablesexample_IP.fexample_IP.f90
IPcIP with constraintsexample_IPc.fexample_IPc.f90
MINLPMixed variablesexample_MINLP.fexample_MINLP.f90
MINLPcMINLP with constraintsexample_MINLPc.fexample_MINLPc.f90
MOMultiple Objectivesexample_MO.fexample_MO.f90

Makefiles

SystemCompilerFile
Linuxgfortranmakefile
LinuxIntel oneAPI ifxmakefile
LinuxNVIDIA nvfortranmakefile
macOSgfortranmakefile
WindowsMinGW-w64 gfortranmakefile

How to Run

  1. Save the library file and an example in one folder
  2. Compile and run the example in this folder
    gfortran -O2 -o run example_MINLPc.f midacof.a
    ./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