I am using the Space Filling Desing Platform to run a Fast Flexible Filling Design. I would like to add a disallowed combination script where if a level for one variable equals a certain value, then a separate column is limited to a specific value. I have the following script, but the script is not working. I have tried: F1 == 1 & F11 > 0 | F2 == 1 & F12 > 0, but then this removes all cases of F1 or F2 = 1 since F11 or F12 never actually equal 0 even though for the computer simulation these variables (F11 and F12) can be 0. I can "fudge" it by having F11 and F12 range from -1 to 5, and then add disallowed combinations for F1 & F2 = 2 or 3 to have a negative F11 or F12. This will limit negative values only showing up for F11 and F12 when F1 or F2 = 1, such that we will program the software to be 0 rather than negative, but this solution seems less elegant. Is there a way to specify the disallowed combinations such that if F1|F2 == 1 then F11F12 = 0?
crt = DOE(
Space Filling Design,
{Add Response( Maximize, "Y", ., ., . ),
Add Factor( Categorical, {"1", "2", "3"}, "F1"),
Add Factor( Categorical, {"1", "2", "3"}, "F2"),
Add Factor( Continuous, 0, 75, "F3", 0 ),
Add Factor( Continuous, 0, 75, "F4", 0 ),
Add Factor( Continuous, 0, 0.25, "F5", 0 ),
Add Factor( Continuous, 0, 0.25, "F6", 0 ),
Add Factor( Continuous, 3, 5, "F7", 0 ),
Add Factor( Continuous, 6, 10, "F8", 0 ),
Add Factor( Continuous, 0, 1.8, "F9", 0 ),
Add Factor( Continuous, 0, 1.8, "F10", 0 ),
Add Factor( Continuous, 0, 5, "F11", 0 ),
Add Factor( Continuous, 0, 5, "F12", 0 ),
Add Factor( Continuous, 800, 1200, "F13", 0 ),
Set Random Seed( 2062716779 ),
Disallowed Combinations(
If(F1==1,F11= 0) | if(F2==1,F12=0)
), FFF Optimality Criterion( MaxPro ),
Space Filling Design Type( Fast Flexible Filling, 130 ),
Set Run Order( Randomize )}
);
dtcur = crt << Make table;
dtcur << delete columns("x1","x2");