<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mixture design - specifying linear constraints in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703955#M88808</link>
    <description>&lt;P&gt;Isn't the problem here that P1 must be between 0.2 and 0.4, P2 must be between 0.2 and 0.4 and also the sum of P1 and P2 must be between 0.2 and 0.4?&amp;nbsp; This leaves only one possibility for P1 and P2, both being 0.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you wither need to allow the sum to go higher than 0.4 or allow the individual values of P1 and/or P2 to go below 0.2&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 13:57:29 GMT</pubDate>
    <dc:creator>drdrf</dc:creator>
    <dc:date>2023-11-29T13:57:29Z</dc:date>
    <item>
      <title>Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703835#M88800</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I wanted to have mixture design or custom design with 5 raw materials (P1, P2, X, Y, Z). And in this design, sum of&amp;nbsp; two of the same type of&amp;nbsp; raw materials P1 &amp;amp; P2 should be between 0.2 and 0.4. I tried to use linear constraints. But JMP is saying that the constraints are wrong. What will be the right constraint for that? and is this possible to do? And is it possible to include the combined effect of P1 &amp;amp; P2?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:40:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703835#M88800</guid>
      <dc:creator>Mathej01</dc:creator>
      <dc:date>2023-11-29T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703880#M88801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47371"&gt;@Mathej01&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see why the constraints may not be possible to implement in the Custom design platform.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was able to obtain a design with your specified constraints on P1 and P2 with the following linear constraints :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;{1 * :P1 + 1 * :P2 &amp;lt;= 0.4, 1 * :P1 + 1 * :P2 &amp;gt;= 0.2}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is the screenshot of the platform :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1701260935481.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59133i6F7582CB6CB3ACB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1701260935481.png" alt="Victor_G_0-1701260935481.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would these constraints work for your use case ?&lt;/P&gt;
&lt;P&gt;Concerning the combined effects of P1 and P2, I would suggest keep the main effects of these factors in the model and add the interaction P1xP2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this first answer will help you,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 12:30:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703880#M88801</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-29T12:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703897#M88804</link>
      <description>&lt;P&gt;Hi Victor ,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I guess, I have to add some more details to my questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had specified the range of values for all my mixture factors. But only P1&amp;amp; P2 has a relation in terms of their sum should also lie between 0.2 and&amp;nbsp; 0.4. Is it not possible? How can I do it correctly? By adding all of the as linear contraints?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:41:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703897#M88804</guid>
      <dc:creator>Mathej01</dc:creator>
      <dc:date>2023-11-29T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703917#M88805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47371"&gt;@Mathej01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems you have set-up your DoE correctly. Did you had any error messages ?&lt;BR /&gt;With the same configuration as yours, I can obtain a DoE table. If you have troubles, try using this script :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ), Add Factor( Mixture, 0, 0.85, "P1", 0 ),
	Add Factor( Mixture, 0, 0.85, "P2", 0 ),
	Add Factor( Mixture, 0.15, 0.3, "O", 0 ), Add Factor( Mixture, 0, 0.65, "R", 0 ),
	Add Factor( Mixture, 0, 0.2, "A", 0 ), Set Random Seed( 476871027 ),
	Number of Starts( 25985 ), Add Constraint( [1 1 0 0 0 0.4, -1 -1 0 0 0 -0.2] ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
	Add Term( {5, 1} ), Set Sample Size( 15 ), Simulate Responses( 0 ),
	Save X Matrix( 0 ), Make Design, Set Run Order( Randomize ), Make Table}
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this will help you,&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:38:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703917#M88805</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-29T13:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703955#M88808</link>
      <description>&lt;P&gt;Isn't the problem here that P1 must be between 0.2 and 0.4, P2 must be between 0.2 and 0.4 and also the sum of P1 and P2 must be between 0.2 and 0.4?&amp;nbsp; This leaves only one possibility for P1 and P2, both being 0.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you wither need to allow the sum to go higher than 0.4 or allow the individual values of P1 and/or P2 to go below 0.2&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:57:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703955#M88808</guid>
      <dc:creator>drdrf</dc:creator>
      <dc:date>2023-11-29T13:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703956#M88809</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11568"&gt;@Victor_G&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like I solved the issue. I made a mistake by giving values ranges (0.2, 0.4) for the factors P1 and P2 and also added a constraint for their sum. Now When I gave the value range as (0. 0.4) for both factors. It is working. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:02:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703956#M88809</guid>
      <dc:creator>Mathej01</dc:creator>
      <dc:date>2023-11-29T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703958#M88810</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47537"&gt;@drdrf&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P1 and P2 should not have their individual ranges fixed between 0,2 and 0,4 as their sum is already constrained between 0,2 and 0,4 so that leaves more than one option. Just as an example (but we could have more options and levels by specifying a more complex model):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1701266646839.png" style="width: 330px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59142i3CE013C3112BBBCA/image-dimensions/330x299?v=v2" width="330" height="299" role="button" title="Victor_G_0-1701266646839.png" alt="Victor_G_0-1701266646839.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You always have the possibility to check the constraints before launching the DoE by clicking on "Check constraints".&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:11:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703958#M88810</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-29T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mixture design - specifying linear constraints</title>
      <link>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703959#M88811</link>
      <description>&lt;P&gt;Yes, as you already have an upper and lower constraint for the sum of the two mixture factors P1 and P2, it's best to not specify any individual range and check the design proposed at the end, in order to avoid adding impossible or useless constraints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad that it helped you !&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 14:10:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mixture-design-specifying-linear-constraints/m-p/703959#M88811</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-29T14:10:47Z</dc:date>
    </item>
  </channel>
</rss>

