<?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: Find all Optimal solutions to the following LP in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554302#M2699</link>
    <description>&lt;P&gt;In SAS Optimization 8.4 to be released soon, you can also find all optimal solutions with the MILP solver, which allows both integer and non-integer variables.&amp;nbsp; For that purpose, two solutions are considered distinct if they differ for some integer variable.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2019 14:50:09 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2019-04-26T14:50:09Z</dc:date>
    <item>
      <title>Find all Optimal solutions to the following LP</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554112#M2696</link>
      <description>&lt;P&gt;max z&amp;nbsp; = 3x[1] + 3x[2]&lt;/P&gt;&lt;P&gt;s.t.&amp;nbsp; &amp;nbsp; x[1] + x[2] &amp;lt;=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;All x[i] =&amp;gt;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would the general code be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 00:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554112#M2696</guid>
      <dc:creator>nep0827</dc:creator>
      <dc:date>2019-04-26T00:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find all Optimal solutions to the following LP</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554143#M2697</link>
      <description>&lt;P&gt;Welcome to the SAS Forum!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finding ONE optimal solution can be done with &lt;STRONG&gt;proc optmodel&lt;/STRONG&gt; (part of SAS/OR, which requires a separate licence) using the SOLVE WITH LP statement, &lt;A href="https://documentation.sas.com/?docsetId=ormpug&amp;amp;docsetTarget=ormpug_lpsolver_gettingstarted.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;see example here&lt;/A&gt;. Adding some other constraint (such as x[1] and x[2] integers) would be required to make the set of ALL optimal solutions finite, in which case you would use SOLVE WITH CLP to find all solutions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Posting your questions to the OR Community would reach experts in those procs.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 03:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554143#M2697</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-04-26T03:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Find all Optimal solutions to the following LP</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554263#M2698</link>
      <description>&lt;P&gt;Yeah. Post it at OR forum.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1636"&gt;@RobPratt&lt;/a&gt;&amp;nbsp; is there .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc optmodel;
var x1&amp;gt;=0 ,x2&amp;gt;=0;
max z=3*x1+3*x2;
con a:x1+x2&amp;lt;=1;
solve  with lp;
print x1 x2;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554263#M2698</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-26T13:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Find all Optimal solutions to the following LP</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554302#M2699</link>
      <description>&lt;P&gt;In SAS Optimization 8.4 to be released soon, you can also find all optimal solutions with the MILP solver, which allows both integer and non-integer variables.&amp;nbsp; For that purpose, two solutions are considered distinct if they differ for some integer variable.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 14:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554302#M2699</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2019-04-26T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find all Optimal solutions to the following LP</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554305#M2700</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;'s code looks good for finding one optimal solution.&amp;nbsp; For LP, the number of optimal solutions can be 0, 1, or infinite.&amp;nbsp; In your example, the entire line segment from (x1,x2) = (1,0) to (0,1) is optimal.&amp;nbsp; The LP solver returns only one of these solutions.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 14:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Find-all-Optimal-solutions-to-the-following-LP/m-p/554305#M2700</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2019-04-26T14:54:01Z</dc:date>
    </item>
  </channel>
</rss>

