<?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 proc optmodel constraints restriction in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644335#M3115</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to combine two conditions to restrict constraint generation :&lt;/P&gt;&lt;P&gt;I try to avoid of having to products without setup timeslot and therefore I want to force that when it is another product the binary flag is force to be 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;con setsup {i in produit, j in produit , t in time : i&amp;lt;&amp;gt;j &lt;STRONG&gt;and&lt;/STRONG&gt; t &amp;gt; 0} : periode_prod[i,t-1] + periode_prod[j,t] = 0 ;&lt;/P&gt;&lt;P&gt;the question is how to combine the two conditions following the : I'm not sure that the AND is working, I quite sure that it doesn't work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Yannic&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 17:54:45 GMT</pubDate>
    <dc:creator>Yannic_Wera</dc:creator>
    <dc:date>2020-04-30T17:54:45Z</dc:date>
    <item>
      <title>proc optmodel constraints restriction</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644335#M3115</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to combine two conditions to restrict constraint generation :&lt;/P&gt;&lt;P&gt;I try to avoid of having to products without setup timeslot and therefore I want to force that when it is another product the binary flag is force to be 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;con setsup {i in produit, j in produit , t in time : i&amp;lt;&amp;gt;j &lt;STRONG&gt;and&lt;/STRONG&gt; t &amp;gt; 0} : periode_prod[i,t-1] + periode_prod[j,t] = 0 ;&lt;/P&gt;&lt;P&gt;the question is how to combine the two conditions following the : I'm not sure that the AND is working, I quite sure that it doesn't work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Yannic&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 17:54:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644335#M3115</guid>
      <dc:creator>Yannic_Wera</dc:creator>
      <dc:date>2020-04-30T17:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc optmodel constraints restriction</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644351#M3116</link>
      <description>&lt;P&gt;The AND is correct, but "i&amp;lt;&amp;gt;j" means max(i,j).&amp;nbsp; If you want to express that i is not equal to j, please use "i ne j" or "i ^= j" or " i ~= j" instead.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 18:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644351#M3116</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-04-30T18:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc optmodel constraints restriction</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644528#M3117</link>
      <description>&lt;P&gt;And here is an alternative approach:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;con setsup {i in produit, j in produit diff {i}, t in time : t &amp;gt; 0} : periode_prod[i,t-1] + periode_prod[j,t] = 0 ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 May 2020 14:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/proc-optmodel-constraints-restriction/m-p/644528#M3117</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-05-01T14:28:50Z</dc:date>
    </item>
  </channel>
</rss>

