Register External Optimizers
In order to use HyperStudy with other external optimizers, they must be registered.
Register External Optimizers in HyperStudy
Register External Optimizers by Editing the Preferences File
Register external optimizers in the *BeginExternalOptimizerDefaults() section of the preferences_study.mvw file.
Example: Register sqp.exe in the Preferences File
*BeginExternalOptimizerDefaults()
{machtype = sysid()}
{if (machtype == "windows")}
*RegisterExternalOptimizer(xopt, "Xopt", { getenv("HST_ALTAIR_HOME") + "/hw/bin/WIN64/xopt.exe" })
*RegisterExternalOptimizer(sqp, "SQP", {"C:/My_SQPOptimizer/sqp.exe" })
{else}
*RegisterExternalOptimizer(xopt, "Xopt", { getenv("HST_ALTAIR_HOME") + "/hw/bin/" + getenv("ALTAIR_PROD_ARCH") + "/xopt" })
{endif}
*EndExternalOptimizerDefaults()