HyperStudy Tips and Tricks: #18 - Run Automatically Distinct Studies
Hello HyperStudy Users,
In case you may wonder, “How can I leverage my machine to solve optimizations in several distinct studies while I go away for the weekend?”
The overall purpose is to execute automatically Study_1, Study_2, Study_3,…and solve all the approaches defined in each one.
The solution consists of automating the execution of distinct hstbatch sessions using a DOS *.bat file.
Below is an example of run_studies.bat file :
hst\bin\win64\hstbatch.exe -archivefile Study_1.hstx -overwrite
hst\bin\win64\hstbatch.exe -archivefile Study_2.hstx -overwrite
hst\bin\win64\hstbatch.exe -archivefile Study_3.hstx -overwrite
Once executed, it allows 3 hstbatch.exe sessions to run one after another; expanding the study archives and solving the approaches in each study (Setup and Optimization in this example).
Tip: You may prefer storing the .bat file and the archives in the same directory.
Thank you!
Was this helpful? Let us know your feedback!