<?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: Proc Optmodel Constraint Specification for Non-Existing (not missing) Array-Elements in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225580#M1102</link>
    <description>&lt;P&gt;You could intersect with the index set of M (suppose it is called MSET):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Constraint&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Example: sum{&amp;lt;v,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'123'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ABC'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;gt; in v_l_m inter MSET}X[v]*M[v,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'123'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ABC'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;];&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2015 13:57:18 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2015-09-15T13:57:18Z</dc:date>
    <item>
      <title>Proc Optmodel Constraint Specification for Non-Existing (not missing) Array-Elements</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225555#M1101</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If this&amp;nbsp;is a constraint (for proc optmodel) I need:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Constraint Example:Sum{&amp;lt;v,'123','ABC'&amp;gt; in v_l_m}X[v]*M[v,'123','ABC'];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.. but the subscript '123' does not exist for all M[v,l,m]'s. (It's not missing, the entry itself has been left out.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I avoid the 'invalid array subscript error'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;kind regards&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225555#M1101</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2015-09-15T12:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel Constraint Specification for Non-Existing (not missing) Array-Elements</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225580#M1102</link>
      <description>&lt;P&gt;You could intersect with the index set of M (suppose it is called MSET):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Constraint&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Example: sum{&amp;lt;v,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'123'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ABC'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;gt; in v_l_m inter MSET}X[v]*M[v,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'123'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'ABC'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;];&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 13:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225580#M1102</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2015-09-15T13:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Optmodel Constraint Specification for Non-Existing (not missing) Array-Elements</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225782#M1103</link>
      <description>&lt;P&gt;Thanks, your answer is of course right. But I think I will have&amp;nbsp;a follow-up question. (The "helpful answer option is gone, I believe.)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 08:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-Optmodel-Constraint-Specification-for-Non-Existing-not/m-p/225782#M1103</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2015-09-16T08:59:46Z</dc:date>
    </item>
  </channel>
</rss>

