<?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: Warning about Target Indices in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564972#M2768</link>
    <description>&lt;P&gt;Thanks rob again. What you said is spot on. There was one missing DC that I need to take care of. AFter that it was all good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perfect. Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 17:21:53 GMT</pubDate>
    <dc:creator>Santha</dc:creator>
    <dc:date>2019-06-10T17:21:53Z</dc:date>
    <item>
      <title>Warning about Target Indices</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564960#M2766</link>
      <description>&lt;P&gt;set&amp;lt;str&amp;gt; Ports;/* this is a set of Ports*/&lt;BR /&gt;set&amp;lt;str&amp;gt; IC; /* this is a set of DCs*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;num OutboundLinehaul {IC,DC}; /*This is an array of OutboundLinehaul Costs indexed over IC and DC*/&lt;BR /&gt;/*read data into the OutboundLinehaul parameter*/&lt;BR /&gt;read data PUBLIC.Outbound_Linehaul into [IC DCCode] OutboundLinehaul=Rate;&lt;BR /&gt;print OutboundLinehaul;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a warning like this. I am not sure if this is going to affect my model or should I do something to fix this. I am not sure what does invalid target indices mean.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WARNING: 18 non-missing values were discarded due to invalid target indices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IC and DC are all strings by definition.&amp;nbsp;&lt;BR /&gt;the variable Rate is a number&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:04:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564960#M2766</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2019-06-10T17:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Warning about Target Indices</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564970#M2767</link>
      <description>That warning means that the data set has some values of IC that are not in the IC index set or some values of DCCode that are not in the DC index set.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:18:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564970#M2767</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2019-06-10T17:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Warning about Target Indices</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564972#M2768</link>
      <description>&lt;P&gt;Thanks rob again. What you said is spot on. There was one missing DC that I need to take care of. AFter that it was all good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perfect. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564972#M2768</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2019-06-10T17:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Warning about Target Indices</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564986#M2769</link>
      <description>&lt;P&gt;An associated question about this. I have a list of 15 members in my index set. I have a binary variable that I associated with this set. I am having this as binary because i want to set some or all of the sites to be open or closed depending on specific scenario.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I say , %let Build ['xxx']=1; to mean that the binary variable called build for&amp;nbsp; this particular 'xxx' is assigned 1 meaning it is open and on the same token&amp;nbsp; %let Build ['yyy']=0; to mean that it is closed? I ran it but everything is assigned to 0. What could fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564986#M2769</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2019-06-10T17:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Warning about Target Indices</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564989#M2770</link>
      <description>Use the FIX statement.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564989#M2770</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2019-06-10T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Warning about Target Indices</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564990#M2771</link>
      <description>&lt;P&gt;Excllent. "FIX" fixed it&amp;nbsp; perfect &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thank u&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 17:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Warning-about-Target-Indices/m-p/564990#M2771</guid>
      <dc:creator>Santha</dc:creator>
      <dc:date>2019-06-10T17:59:37Z</dc:date>
    </item>
  </channel>
</rss>

