<?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 for pool selection in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87311#M590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one more column, say 'z'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Average of&amp;nbsp; (y/z) of those 200 points should be less than some given value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i am correct in representing in SAS OPT model notation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;con constraint: {sum i in 1..200} (y&lt;I&gt;/z&lt;I&gt;) / 200&amp;nbsp; &amp;lt;= 0.60&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 21:22:22 GMT</pubDate>
    <dc:creator>hckadali</dc:creator>
    <dc:date>2012-06-19T21:22:22Z</dc:date>
    <item>
      <title>Proc OPTMODEL for pool selection</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87309#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to select 200 points from a pool of 1000 points which are nearest to the line say y = x using least squares. and my constraint is that the average of the values of the 200 points should be below a given value. How can i formulate this model using Proc optmodel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how i write the objective function in this case. I thought it should be like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;min f = {sum i in 1..200} (x&lt;I&gt; - y&lt;I&gt;)**2&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the above objective function, there is nothing to minimize, it just calculates the sum of least squares of first 200 obs. I am confused on how to tackle this. Plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 20:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87309#M588</guid>
      <dc:creator>hckadali</dc:creator>
      <dc:date>2012-06-19T20:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL for pool selection</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87310#M589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"the average of the values of the 200 points should be below a given value" ? The average of what value, x, y, SSQ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 21:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87310#M589</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-06-19T21:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc OPTMODEL for pool selection</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87311#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one more column, say 'z'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Average of&amp;nbsp; (y/z) of those 200 points should be less than some given value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i am correct in representing in SAS OPT model notation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;con constraint: {sum i in 1..200} (y&lt;I&gt;/z&lt;I&gt;) / 200&amp;nbsp; &amp;lt;= 0.60&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 21:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-OPTMODEL-for-pool-selection/m-p/87311#M590</guid>
      <dc:creator>hckadali</dc:creator>
      <dc:date>2012-06-19T21:22:22Z</dc:date>
    </item>
  </channel>
</rss>

