Integrating META
In a first step, a baseline run has to be performed. The results of the baseline run are used to define all desired histories and responses in META.
For each history, a curve in a 2d plot has to be defined in META. For details, see META User's Guide.
For each response, an annotation has to be defined in META.
After defining the curves and annotations, the responses and histories may be defined in the Optimizer Setup tool (User Toolbar).
Export Session generates two files, a META session file sessionfile.txt and a file containing the defined results sessionfile.txt.results. These files are used in LS-OPT to define the responses and histories.
$ ------ Post-processor -------- postpro metapost postpro command "metapost" postpro database file "./" postpro input file "../../sessionfile.txt" postpro output file "sessionfile.txt.results"
The post-processor input file is the META session file, the output file is the file containing the results.
LS-OPT reads the histories and responses automatically from the output file and adds them to the history and response definitions, respectively using the names defined in the META Optimizer Setup.
$ RESPONSES FOR SOLVER "1" $ response 'max_acc' 1.0 0.0 "METAPost" $ HISTORIES FOR SOLVER "1" $ history 'acc' "METAPost"