Download MIDACO for Text - I/O

 Download  MIDACO 6.0  examples for general text file based input / output

 

 

Example Problem

 

( Python code )

 

Blackbox Model Evaluator

 

[ blackbox_source.zip ]

 

Description

 

 

 

Windows

coming soon...

blackbox.exe (zipped)

 

NLP example

 

coming soon... 

blackbox.exe (zipped)

 MINLPc example

with parallel evaluation

coming soon...

blackbox.exe (zipped)

Multi-Objective example

with parallel evaluation

coming soon...   blackbox.exe (zipped)

Advanced MINLPc example

with parallel evaluation and

further system commands

Mac

&

Linux

coming soon...

blackbox (executable)

 

NLP example

 

example_parallel.py.txt

blackbox (executable)

 MINLPc example

with parallel evaluation

example_MO.py.txt

blackbox (executable)

 Multi-Objective example

with parallel evaluation

coming soon...

blackbox (executable)

Advanced MINLPc example

with parallel evaluation and

further system commands

 

 

MIDACO for Text-I/O interfaces MIDACO with virtually any application (like LS-Dyna, KNIME, Abacus,...) and generally with any kind of executable. While MIDACO is executed from some programming language (in above examples Python is used) it will communicate with the application model evaluator (blackbox_source.zip) only by passing the X variables as "variables.txt" input file and receive the corresponding F and G values as "objectives.txt" output file from the application model evaluator. In case of the parallel examples, the template will create a temporary private folder for each thread, then copy the evaluator into that temporary folder and execute it. The format of the text files (and even their file type) can freely be adopted to any specific application at hand, as the here presented examples just illustrate one possible way to achieve this in Python.

 

How to run MIDACO examples for general Text-I/O

Step 1 Download some example file, e.g. example_MINLPc.py.txt (Linux 64bit)
Step 2

Download the corresponding blackbox executable file

Note: You might need to change the permission to allow

the execution of the file on some systems (e.g. Mac/Linux)

Step 3 Download midaco.py.txt and the appropriate library file (e.g. midacopy.dll) from here
Step 4 Store all files in the same folder on your system (e.g. Desktop)
Step 5 Open console, navigate to folder and execute example with Python

  

Any problems running MIDACO? Please click here or contact us.