A can't be more than 27,4% of B :
1 * :A + -0.274 * :B <= 0</CODE></PRE>
</LI>
<LI>C can’t be higher than 3% of (D + B) : <BR />
<PRE>-0.03 * :B + 1 * :C + -0.03 * :d :D</img> <= 0</PRE>
</LI>
<LI>D should be less than 25% of B :<BR />
<PRE>-0.25 * :B + 1 * :d <= 0</PRE>
</LI>
<LI>将此 DoE 设置为混合设计时,已考虑最后一个约束:A+B+C+D = 1 (100%)<BR />注意:抱歉,出于某些原因,在为因子 D 对应的列写入“:D”时,JSL 代码不起作用,因此我改用“:d”。但它是混合因子 D,而不是其他东西,因此如果您将此因子标记为“D”,则应标记为“:D”。<BR /><BR /></LI>
</OL>
</LI>
<LI>您可以直接在面板中设置这些约束,指定假定模型(我这里仅选择主效应混合模型进行说明)并根据您的目标选择相应的运行次数(我这里仅保留默认的推荐运行次数):<BR /> <SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1718953672423.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="Victor_G_1-1718953672423.png" style="width: 315px;"><span class="lia-inline-image-display-wrapper" image-alt="Victor_G_1-1718953672423.png" style="width: 315px;"><img src="https://us.v-cdn.net/6038925/uploads/images/65481i03A985FC426F9F6B/Victor_G_1-1718953672423.png" role="button" title="Victor_G_1-1718953672423.png" alt="Victor_G_1-1718953672423.png" /></span></SPAN></SPAN></LI>
</OL>
<P>然后,您可以创建您的设计,如果需要,您可以通过在数据表中创建与混合因子之间的比率/比较相对应的公式来检查您的约束是否得到遵守:</P>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_2-1718953842819.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="Victor_G_2-1718953842819.png" style="width: 400px;"><span class="lia-inline-image-display-wrapper" image-alt="Victor_G_2-1718953842819.png" style="width: 400px;"><img src="https://us.v-cdn.net/6038925/uploads/images/65482iD26D9D299388456D/Victor_G_2-1718953842819.png" role="button" title="Victor_G_2-1718953842819.png" alt="Victor_G_2-1718953842819.png" /></span></SPAN></SPAN></P>
<P> </P>
<P>以下是重现此处所示设计的脚本:</P>
<PRE><CODE class=" language-jsl">DOE(
Custom Design,
{Add Response( Maximize, "Y", ., ., . ), Add Factor( Mixture, 0, 1, "A", 0 ),
Add Factor( Mixture, 0, 1, "B", 0 ), Add Factor( Mixture, 0, 1, "C", 0 ),
Add Factor( Mixture, 0, 1, "D", 0 ), Set Random Seed( 1982181060 ),
Number of Starts( 49914 ), Add Constraint(
[1 -0.274 0 0 0, 0 -0.03 1 -0.03 0, 0 -0.25 0 1 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 ), Make Design, Set Run Order( Randomize ), Make Table}
)
如果您对此比 JSL 脚本更熟悉,我在此附加了用于说明的设计的数据表。
希望这个回答能帮到你,