Download MIDACO 7 for Fortran
midacof.a Limited Version
MIDACO 7 Fortran Library File
Example Problems
| Problem Type | Description | Fortran77 | Fortran90 |
|---|---|---|---|
| NLP | Continuous variables | example_NLP.f | example_NLP.f90 |
| NLPc | NLP with constraints | example_NLPc.f | example_NLPc.f90 |
| IP | Integer variables | example_IP.f | example_IP.f90 |
| IPc | IP with constraints | example_IPc.f | example_IPc.f90 |
| MINLP | Mixed variables | example_MINLP.f | example_MINLP.f90 |
| MINLPc | MINLP with constraints | example_MINLPc.f | example_MINLPc.f90 |
| MO | Multiple Objectives | example_MO.f | example_MO.f90 |
Makefiles
| System | Compiler | File | Command |
|---|---|---|---|
| Linux | gfortran | makefile | make |
| Linux | Intel oneAPI ifx | makefile_intel_linux | make -f makefile_intel_linux |
| Linux | NVIDIA nvfortran | makefile_nvfortran_linux | make -f makefile_nvfortran_linux |
| macOS | gfortran | makefile_gfortran_macos | make -f makefile_gfortran_macos |
| Windows | MinGW-w64 gfortran | makefile_mingw_windows | mingw32-make -f makefile_mingw_windows |
Every makefile builds example_MINLPc with the library file of its system and creates the program run (Windows: run.exe). Another example: change SOURCES in the makefile.
How to Run
- Save the library file and an example in one folder
- Compile and run the example in this folder
gfortran -O2 -o run example_MINLPc.f midacof.a ./run
Any Fortran compiler (gfortran, ifx, nvfortran, flang). Windows: midacof.lib instead of midacof.a.
Screenshot and Solution File
© Schlueter Research. All rights reserved.ImprintPrivacyDisclaimer


