<?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 Not in clause in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631274#M3041</link>
    <description>&lt;P&gt;Posting this question in a new thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a constraint below that gives syntax error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;con DC_LSP_Direct_Link1{p in Ports, t in Transit,c in lsp, d in DC: d not in {'SAV','LAX'}}:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ContainersfromPortstoLSPtoDC[p,t,c,d in DC: d not in {'SAV','LAX'}] &amp;lt;= BigM * IsLSPDC[c,d in DC: d not in {'SAV','LAX'}];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the error&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, (, *, **, +, ',', -, .., /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;&amp;lt;, &amp;gt;=, AND, BY,&lt;/DIV&gt;&lt;DIV class="sasError"&gt;CROSS, DIFF, ELSE, IN, INTER, NOT, OR, SYMDIFF, TO, UNION, WITHIN, [, ], ^, ^=, |, ||, ~, ~=.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;</description>
    <pubDate>Wed, 11 Mar 2020 16:12:00 GMT</pubDate>
    <dc:creator>Santha</dc:creator>
    <dc:date>2020-03-11T16:12:00Z</dc:date>
    <item>
      <title>Not in clause</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631274#M3041</link>
      <description>&lt;P&gt;Posting this question in a new thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a constraint below that gives syntax error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;con DC_LSP_Direct_Link1{p in Ports, t in Transit,c in lsp, d in DC: d not in {'SAV','LAX'}}:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ContainersfromPortstoLSPtoDC[p,t,c,d in DC: d not in {'SAV','LAX'}] &amp;lt;= BigM * IsLSPDC[c,d in DC: d not in {'SAV','LAX'}];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the error&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, (, *, **, +, ',', -, .., /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;&amp;lt;, &amp;gt;=, AND, BY,&lt;/DIV&gt;&lt;DIV class="sasError"&gt;CROSS, DIFF, ELSE, IN, INTER, NOT, OR, SYMDIFF, TO, UNION, WITHIN, [, ], ^, ^=, |, ||, ~, ~=.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631274#M3041</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2020-03-11T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not in clause</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631294#M3043</link>
      <description>&lt;P&gt;Correct syntax is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;con DC_LSP_Direct_Link1{p in Ports, t in Transit, c in lsp, d in DC: d not in {'SAV','LAX'}}:
   ContainersfromPortstoLSPtoDC[p,t,c,d] &amp;lt;= BigM * IsLSPDC[c,d];&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2020 17:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631294#M3043</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2020-03-11T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not in clause</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631312#M3044</link>
      <description>&lt;P&gt;Thanks Rob as always&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 17:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Not-in-clause/m-p/631312#M3044</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2020-03-11T17:46:05Z</dc:date>
    </item>
  </channel>
</rss>

