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 腳本更熟悉,我會在此處附上用於說明的設計的資料表。
希望這個回答對你有幫助