<?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 Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768528#M3515</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an OR model where I am trying to minimize the cost.&amp;nbsp;I solved this model without any problem using Excel solver.&amp;nbsp;I also solved the same model in SAS EG using the optmodel procedure with different algorithms.&amp;nbsp;But the results I get on both platforms are different and those in Optmodel are unacceptably higher.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure my model's constraints, variables, and target function are correct.&amp;nbsp;Therefore, how should I proceed so that I can reach the result I obtained in Excel?&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;</description>
    <pubDate>Mon, 20 Sep 2021 10:53:25 GMT</pubDate>
    <dc:creator>sametunver</dc:creator>
    <dc:date>2021-09-20T10:53:25Z</dc:date>
    <item>
      <title>Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768528#M3515</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an OR model where I am trying to minimize the cost.&amp;nbsp;I solved this model without any problem using Excel solver.&amp;nbsp;I also solved the same model in SAS EG using the optmodel procedure with different algorithms.&amp;nbsp;But the results I get on both platforms are different and those in Optmodel are unacceptably higher.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure my model's constraints, variables, and target function are correct.&amp;nbsp;Therefore, how should I proceed so that I can reach the result I obtained in Excel?&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;</description>
      <pubDate>Mon, 20 Sep 2021 10:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768528#M3515</guid>
      <dc:creator>sametunver</dc:creator>
      <dc:date>2021-09-20T10:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768555#M3516</link>
      <description>Can you please share your data and code?</description>
      <pubDate>Mon, 20 Sep 2021 13:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768555#M3516</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2021-09-20T13:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768711#M3517</link>
      <description>&lt;P&gt;I am sharing it in the attachment of the message.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 07:03:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768711#M3517</guid>
      <dc:creator>sametunver</dc:creator>
      <dc:date>2021-09-21T07:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768713#M3518</link>
      <description>&lt;P&gt;For example, when I solve the above problem using Excel GRG, I get the result 1152758, while in the optmodel this value is 1167858. There is a difference of approximately 15100 units and this is far outside my tolerance.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 07:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768713#M3518</guid>
      <dc:creator>sametunver</dc:creator>
      <dc:date>2021-09-21T07:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768787#M3519</link>
      <description>&lt;P&gt;When I run your code with SAS/OR 15.2, I get the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Optimal.
NOTE: Objective = 1152546.48.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Your objective is nonconvex minimization, so I recommend using the MULTISTART option to avoid getting stuck in a local minimum:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   solve with nlp / multistart;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The resulting objective value matches the previous value, but you can see that multiple local optima were found:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: The Multistart algorithm generated 4800 sample points.
NOTE: 2 distinct local optima were found.
NOTE: The best objective value found by local solver = 1152546.4807.
NOTE: The solution found by local solver with objective = 1152546.4807 was returned.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, the large upper bounds of&amp;nbsp;999999999 are not recommended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/768787#M3519</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2021-09-21T14:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear Programming Algorithms in Optmodel vs Excel Nonlinear GRG</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/769014#M3520</link>
      <description>&lt;P&gt;Firstly, thank you. I am currently using SAS/OR version 15.1. However, I have reached the result 1152546.4807, which you also found, by increasing the 'opttol' value from the Solver options.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;solve with nlp / opttol = 0.000000000001;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 06:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-Programming-Algorithms-in-Optmodel-vs-Excel-Nonlinear/m-p/769014#M3520</guid>
      <dc:creator>sametunver</dc:creator>
      <dc:date>2021-09-22T06:27:24Z</dc:date>
    </item>
  </channel>
</rss>

