<?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: 2 constraints in custom DOE where the sum of two factors should be below 8 or greater than 18 hours in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357522#M60762</link>
    <description>&lt;P&gt;Thanks Laura, it works fine. Appreciate!&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 14:59:19 GMT</pubDate>
    <dc:creator>Sop</dc:creator>
    <dc:date>2021-02-09T14:59:19Z</dc:date>
    <item>
      <title>2 constraints in custom DOE where the sum of two factors should be below 8 or greater than 18 hours</title>
      <link>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357063#M60708</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to run a custom DOE with 5 factors. 2 factors are related to time and due to work hours I have to ensure that the sum of those two factors either are below 8 hours OR greater than 18 hours. The first factor has 0.3 h as low level and 6 h as high whereas the second has 1 h and 20 h. The script below does not work, perhaps because there is an AND hidden...? thanks in advance&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, 0.3, 6, "Time 1", 0 ),
	Add Factor( Continuous, 1, 20, "Time 2", 0 ), Set Random Seed( 979298838 ),
	Add Constraint( [1 1 8, -1 -1 -18] ), Add Term( {1, 0} ), Add Term( {1, 1} ),
	Add Term( {2, 1} ), Add Term( {1, 2} ), Add Term( {1, 1}, {2, 1} ),
	Add Term( {2, 2} ), Set Sample Size( 12 ), Optimality Criterion( 2 ),
	Simulate Responses( 0 ), Save X Matrix( 0 )}
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:02:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357063#M60708</guid>
      <dc:creator>Sop</dc:creator>
      <dc:date>2023-06-08T21:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: 2 constraints in custom DOE where the sum of two factors should be below 8 or greater than 18 hours</title>
      <link>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357091#M60711</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Try using a disallowed combinations constraint instead of linear inequality constraints.&amp;nbsp; I believe the following script may give you the design you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, 0.3, 6, "Time 1", 0 ),
	Add Factor( Continuous, 1, 20, "Time 2", 0 ), Set Random Seed( 979298838 ),
	Add Term( {1, 0} ), Add Term( {1, 1} ),
	Add Term( {2, 1} ), Add Term( {1, 2} ), Add Term( {1, 1}, {2, 1} ),
	Add Term( {2, 2} ), Set Sample Size( 12 ),
	&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Disallowed Combinations( Time 1 + Time 2 &amp;gt;= 8 &amp;amp; Time 1 + Time 2 &amp;lt;= 18 ),&lt;/STRONG&gt;&lt;/FONT&gt;
	 Optimality Criterion( 2 ),
	Simulate Responses( 0 ), Save X Matrix( 0 )}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Laura&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 14:17:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357091#M60711</guid>
      <dc:creator>Laura_Lancaster</dc:creator>
      <dc:date>2021-02-08T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: 2 constraints in custom DOE where the sum of two factors should be below 8 or greater than 18 hours</title>
      <link>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357522#M60762</link>
      <description>&lt;P&gt;Thanks Laura, it works fine. Appreciate!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 14:59:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/2-constraints-in-custom-DOE-where-the-sum-of-two-factors-should/m-p/357522#M60762</guid>
      <dc:creator>Sop</dc:creator>
      <dc:date>2021-02-09T14:59:19Z</dc:date>
    </item>
  </channel>
</rss>

