Hi @Alainmd02 ,
You need to set this up with a linear constraint to define that the ratio of RM1:RM2 >= 0.26.
I find the best way to get the equation for the constraint is to define 2 points that obey the constraint (e.g. 0.1, 0.385 and 1,3.85) and fit a line using Fit Y by X in JMP.
This gives you the equation, RM1 = 0 + 0.2597403*RM2, and you just need to rearrange into a form that fits the constraints interface.
Here is the script for the Custom Design.
DOE(
Custom Design,
{Add Response( Maximize, "Y", ., ., . ),
Add Factor( Mixture, 0.65, 0.9, "Water", 0 ),
Add Factor( Mixture, 0, 0.35, "RM1", 0 ),
Add Factor( Mixture, 0, 0.35, "RM2", 0 ),
Add Factor( Mixture, 0, 0.005, "RM3", 0 ), Set Random Seed( 2095116882 ),
Number of Starts( 29816 ), Add Constraint( [0 -1 0.26 0 0] ), Add Term( {1, 1} ),
Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
Add Alias Term( {1, 1}, {2, 1} ), Add Alias Term( {1, 1}, {3, 1} ),
Add Alias Term( {1, 1}, {4, 1} ), Add Alias Term( {2, 1}, {3, 1} ),
Add Alias Term( {2, 1}, {4, 1} ), Add Alias Term( {3, 1}, {4, 1} ),
Set Sample Size( 10 ), Simulate Responses( 0 ), Save X Matrix( 0 ),
Set Run Order( Randomize ), Make Table}
);