<?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 LP question - quot;nearquot; optimal solutions? in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2386#M7</link>
    <description>Are you solving an LP or an MILP?</description>
    <pubDate>Wed, 28 Feb 2007 14:49:58 GMT</pubDate>
    <dc:creator>Matthew_Galati</dc:creator>
    <dc:date>2007-02-28T14:49:58Z</dc:date>
    <item>
      <title>Proc LP question - "near" optimal solutions?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2385#M6</link>
      <description>Hi, thought I'd get the ball rolling...&lt;BR /&gt;
&lt;BR /&gt;
I have a question regarding Proc LP. I have solved a very simple problem (choosing best 11 variables out of about 500 subject to about half a dozen constraints) for the optimal solution. But I am interested in seeing the other feasible solutions that are close in value to the optimal one. I'm by no means an OR/Proc LP expert but a while ago had a read of documentation and couldn't see how to do it. Any takers on this one...?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, John</description>
      <pubDate>Tue, 27 Feb 2007 16:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2385#M6</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-27T16:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LP question - quot;nearquot; optimal solutions?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2386#M7</link>
      <description>Are you solving an LP or an MILP?</description>
      <pubDate>Wed, 28 Feb 2007 14:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2386#M7</guid>
      <dc:creator>Matthew_Galati</dc:creator>
      <dc:date>2007-02-28T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LP question - "near" optimal solutions?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2387#M8</link>
      <description>It is an MILP problem I think - my variables are of the "_binary_" constraint type in that they take the values of either 1 (selected) or 0 (not selected). &lt;BR /&gt;
&lt;BR /&gt;
Is that clear?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, John</description>
      <pubDate>Fri, 02 Mar 2007 13:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2387#M8</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-02T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LP question - quot;nearquot; optimal solutions?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2388#M9</link>
      <description>There is no option to get "alternative" or "suboptimal" solutions. We (R&amp;amp;D) have discussed this as a possible option in a future release (of OPTMILP). In case you do not know, we have a new suite of solvers that replace most of the functionality of PROC LP: OPTLP for LPs and OPTMILP for MILPs. Also, performance has been greatly improved.&lt;BR /&gt;
&lt;BR /&gt;
Although we do not provide alternative solutions, there is a way you can "simulate this" which is not too difficult since your problem is binary. Solve the problem, getting a solution x*, let S0 = {j in 1..n: x*&lt;J&gt; = 0} and S1 = {j in 1..n: x*&lt;J&gt; = 1}, and add the following constraint to cut off the given solution:&lt;BR /&gt;
&lt;BR /&gt;
   sum {j in S0} x&lt;J&gt; + sum {j in S1} (1 - x&lt;J&gt;) &amp;gt;= 1&lt;BR /&gt;
&lt;BR /&gt;
The idea is that this constraint forces some variable to take a different value than its current value (at least one 0 must become a 1, or at least one 1 must become a 0).  Solve again.  If the problem is infeasible, the original problem has a unique feasible solution.  Otherwise, you get an alternative feasible solution, which might or might not have the same objective value as x*.  Continue adding cuts and re-solving until the resulting problem is infeasible or the desired number of solutions have been obtained.&lt;BR /&gt;
&lt;BR /&gt;
This can be done using the macro language and manipulating the input data sets for PROC LP. Also, it would be much easier using OPTMODEL.&lt;/J&gt;&lt;/J&gt;&lt;/J&gt;&lt;/J&gt;</description>
      <pubDate>Wed, 07 Mar 2007 00:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Proc-LP-question-quot-near-quot-optimal-solutions/m-p/2388#M9</guid>
      <dc:creator>Matthew_Galati</dc:creator>
      <dc:date>2007-03-07T00:36:54Z</dc:date>
    </item>
  </channel>
</rss>

