Hi,
I have a design:
It consists of 3 initial setting parameters (continuous), Phase 1 duration (continuous), Phase 2 duration (continuous) and phase 2 drying setting (categorical ON/OFF) all with specific settings you can see already in the DOE below.
The issue I'm not sure how to solve is that there are both disalowed combinations and linear constraints at the same time:
Phase 1 duration + Phase 2 duration <= 15min, and If Phase 2 duration == 0 aka no Phase 2 processed, Phase 2 drying is set to OFF.
I can do a linear combination, but have then runs where P2 duration is 0 but P2 drying is ON - does not make sense.
I can do a disalowed combination, but could have P1 duration and P2 duration add up to more than 15 min.
If I want to do both - even by script - I loose always one of both. Is there a workaround?
Martin
DOE(
Custom Design,
{Add Response( Maximize, "Process effectiveness", 3, ., . ),
Add Response( Minimize, "Process duration", ., ., . ),
Add Factor( Continuous, -1, 1, "Initial parameter 1", 0 ),
Add Factor( Continuous, -1, 1, "Initial parameter 2", 0 ),
Add Factor( Continuous, -1, 1, "Initial parameter 3", 0 ),
Add Factor( Continuous, 3, 12, "Phase 1 duration", 0 ),
Add Factor( Continuous, 0, 9, "Phase 2 duration", 0 ),
Add Factor( Categorical, {"ON", "OFF"}, "Phase 2 drying", 0 ),
Set Random Seed( 37980736 ), Number of Starts( 399 ),
Add Constraint( [0 0 0 1 1 15] ), Add Term( {1, 0} ), Add Term( {1, 1} ),
Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ), Add Term( {5, 1} ),
Add Term( {6, 1} ), Add Term( {1, 2} ), Add Term( {1, 1}, {2, 1} ),
Add Term( {2, 2} ), Add Term( {1, 1}, {3, 1} ), Add Term( {2, 1}, {3, 1} ),
Add Term( {3, 2} ), Add Term( {1, 1}, {4, 1} ), Add Term( {2, 1}, {4, 1} ),
Add Term( {3, 1}, {4, 1} ), Add Term( {4, 2} ), Add Term( {1, 1}, {5, 1} ),
Add Term( {2, 1}, {5, 1} ), Add Term( {3, 1}, {5, 1} ),
Add Term( {4, 1}, {5, 1} ), Add Term( {5, 2} ), Add Term( {1, 1}, {6, 1} ),
Add Term( {2, 1}, {6, 1} ), Add Term( {3, 1}, {6, 1} ),
Add Term( {4, 1}, {6, 1} ), Add Term( {5, 1}, {6, 1} ), Set Sample Size( 33 ),
Optimality Criterion( Name( "Make I-Optimal Design" ) ), Simulate Responses( 0 ),
Save X Matrix( 0 )}
);