<?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: Huge difference in solution time for MILP problem in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224737#M1097</link>
    <description>Unfortunately, that is the nature of MILP. Two similar instances of the same problem can yield very different performance. On the other hand, the likelihood of this situation can sometimes be reduced. If you attach your code and data, I'll take a look.</description>
    <pubDate>Wed, 09 Sep 2015 13:13:40 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2015-09-09T13:13:40Z</dc:date>
    <item>
      <title>Huge difference in solution time for MILP problem</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224558#M1096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am running proc optmodel using MILP solver on two different datasets (let's call them A &amp;amp; B) but more or less equivalent in terms of #variables, #integers, #constraints etc.&lt;/P&gt;
&lt;P&gt;Surprisingly, A takes 16 min to converge, while B converges in negligible time (2-3 seconds). However, B seems to give correct output (I am also running Excel Analytic Solver Platform for the same problem, and results more or less match with that of SAS/OR).&lt;/P&gt;
&lt;P&gt;The code for A &amp;amp; B are&amp;nbsp;exactly same.&lt;/P&gt;
&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 02:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224558#M1096</guid>
      <dc:creator>abhik_giri</dc:creator>
      <dc:date>2015-09-09T02:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Huge difference in solution time for MILP problem</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224737#M1097</link>
      <description>Unfortunately, that is the nature of MILP. Two similar instances of the same problem can yield very different performance. On the other hand, the likelihood of this situation can sometimes be reduced. If you attach your code and data, I'll take a look.</description>
      <pubDate>Wed, 09 Sep 2015 13:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224737#M1097</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2015-09-09T13:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Huge difference in solution time for MILP problem</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224922#M1099</link>
      <description>&lt;P&gt;Thanks a lot for the reply. Unfortunately, I cannot share the code/data due to confidentiality issues. Is there a way in proc optmodel to diagnose which particular variable eats up more time?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 09:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/224922#M1099</guid>
      <dc:creator>abhik_giri</dc:creator>
      <dc:date>2015-09-10T09:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Huge difference in solution time for MILP problem</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/225024#M1100</link>
      <description>&lt;P&gt;In SAS/OR 14.1 (just released in July), PROC OPTMODEL has a new PROFILE statement that shows execution time for each statement:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_optmodel_syntax11.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_optmodel_syntax11.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it sounds like you are looking for detailed information&amp;nbsp;about the solver execution invoked by the SOLVE statement, and the best source for that is&amp;nbsp;the node log:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_milpsolver_details10.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_milpsolver_details10.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share that?&amp;nbsp; And can you share the MILP formulation?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 19:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Huge-difference-in-solution-time-for-MILP-problem/m-p/225024#M1100</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2015-09-10T19:59:46Z</dc:date>
    </item>
  </channel>
</rss>

