<?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: Optmodel speed in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/241772#M1199</link>
    <description>&lt;P&gt;That's great! We really appreciate your effort in sharing the instance with us. I sent an email to the contact in the track. If you can, please confirm that I have the right track, and I'll forward it to the right people.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;
&lt;P&gt;Leo.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2016 00:20:15 GMT</pubDate>
    <dc:creator>LeoLopes</dc:creator>
    <dc:date>2016-01-05T00:20:15Z</dc:date>
    <item>
      <title>Optmodel speed</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238148#M1177</link>
      <description>&lt;P&gt;I have a MILP problem to solve in SAS optmodel. After presolve, it has 500 variables, 1000 constraints, 18000 non-zero coefficients. Out of the 500 variables, most of them are binary, a few are integer and&amp;nbsp;non-integer. I don't think this is a big problem but it's taking more than hours to solve. I wonder why this is so? Memory issue? I run the code in EG and a remote server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;&lt;P&gt;solve with milp/nodesel=1 inttol=1e-8;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because nodesel slightly speed up a little on smaller problems, and I need the integer to be very accurate.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2015 19:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238148#M1177</guid>
      <dc:creator>cloudyhill</dc:creator>
      <dc:date>2015-12-07T19:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Optmodel speed</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238202#M1178</link>
      <description>&lt;P&gt;Your problem is not large. Size is important, but it is not the most useful predictor of MILP running time.&amp;nbsp;If your problem is related&amp;nbsp;to an NP-Hard problem, it will tend to be hard to solve even if it is easy to write the model down as a MILP, and even the problem instance&amp;nbsp;is small.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are formulation approaches and manipulations of the instance that you can encode in OPTMODEL that help. It is impossible to dispense advice regarding what to try&amp;nbsp;without more information about the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be able to leave&amp;nbsp;inttol at its default value. Round the solution after the solve with the default inttol, and check&amp;nbsp;if it is feasible. There are important but rare cases where this fails, which is why the solver doesn't simply&amp;nbsp;round the solution for you. Leaving the parameter at the default value might help with speed.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 03:51:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238202#M1178</guid>
      <dc:creator>LeoLopes</dc:creator>
      <dc:date>2015-12-08T03:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Optmodel speed</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238390#M1180</link>
      <description>&lt;P&gt;Thanks for your advice. I tried removing inttol, but it still hasn't solved the problem after 8 hours. The other run with inttol=1e-8 hasn't solved after 24 hours. Then I moved the model from SAS to CPLEX with some grammar change, no formulation change. CPLEX solved in 8 seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am doing is building an optimization model for a bidding system with quite complicated bidding rules. To test the model in SAS, I randomly generated a few test sets. Sometimes SAS takes 20~40 minutes to solve examples with 40 biddders. But for this example, there are 35 bidders, but just can't be solved in a reasonable time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 22:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238390#M1180</guid>
      <dc:creator>cloudyhill</dc:creator>
      <dc:date>2015-12-08T22:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Optmodel speed</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238423#M1181</link>
      <description>&lt;P&gt;It is not unusual to encounter&amp;nbsp;large differences in performance between different solvers. BTW, it also happens the other way. Modern solvers are sophisticated collections of algorithms. The order in which each solver&amp;nbsp;applies&amp;nbsp;those algorithms determines the success they will have on each instance.&amp;nbsp;As you have observed, even within the same problem, a slightly different instance can cause the solver to take a different, less favorable search path. We tune solvers against a large set of customer instances and academic instances at each release. I am sorry that your instance was on the unluckly side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are able to share your model and instance generator with us, that could help us service you better in future releases. This code will never be shared with any other customer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are unable to share your model, we can still help you: please send us the instance&amp;nbsp;that&amp;nbsp;had the greatest relative performance difference to CPLEX&amp;nbsp;using the &lt;A href="http://support.sas.com/documentation/cdl/en/ormpug/68156/HTML/default/viewer.htm#ormpug_optmodel_syntax11.htm" target="_self"&gt;OPTMODEL 'SAVE MPS' statement&lt;/A&gt;. That protects your model, and might still help us find out if there is something we can do differently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are able to help, please create a&amp;nbsp;&lt;A href="http://support.sas.com/ctx/supportform/createForm" target="_self"&gt;support entry&lt;/A&gt;. Unfortunately, I cannot promise to tune the solver for&amp;nbsp;your specific model.&amp;nbsp;But I can promise to route your support ticket&amp;nbsp;to our developers, which will help us increase performance in future releases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 01:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/238423#M1181</guid>
      <dc:creator>LeoLopes</dc:creator>
      <dc:date>2015-12-09T01:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Optmodel speed</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/241723#M1198</link>
      <description>Hello Leo. I'd love to work with SAS on this case. I was finally able to submit a support entry. Thank you so much for your suggestion!</description>
      <pubDate>Mon, 04 Jan 2016 20:09:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/241723#M1198</guid>
      <dc:creator>cloudyhill</dc:creator>
      <dc:date>2016-01-04T20:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Optmodel speed</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/241772#M1199</link>
      <description>&lt;P&gt;That's great! We really appreciate your effort in sharing the instance with us. I sent an email to the contact in the track. If you can, please confirm that I have the right track, and I'll forward it to the right people.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;
&lt;P&gt;Leo.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 00:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Optmodel-speed/m-p/241772#M1199</guid>
      <dc:creator>LeoLopes</dc:creator>
      <dc:date>2016-01-05T00:20:15Z</dc:date>
    </item>
  </channel>
</rss>

