I would like to be able to use JSL to maximize desirability of the prediction profiler in the custom design DOE display window. I've figured out how to grab the variance value from the prediction profiler (see code below) but can't figure out how to launch the built in script to maximize. Any ideas?
mydoe=DOE(
Custom Design,
{Add Response( Maximize, "Y", ., ., . ),
Add Factor( Continuous, -1, 1, "X1", 0 ),
Add Factor( Continuous, -1, 1, "X2", 0 ), Set Random Seed( 625275281 ),
Number of Starts( 3200 ), Add Term( {1, 0} ), Add Term( {1, 1} ),
Add Term( {2, 1} ), Add Alias Term( {1, 1}, {2, 1} ), Set Sample Size( 8 ),
Make Design}
);
displayBoxDoe = mydoe << Report;
//need to maximize desirabilities somehow
show properties(displayBoxDoe[outlinebox(9)]);
//The code below get the predicted variance from the prediction profiler
pplr_val = num(displayBoxDoe[textbox(3)]<<get text);
print(pplr_val);