<?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: Nonlinear model: Out of Memory Error in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181106#M940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The generic memory management is the Memsize system option.&lt;/P&gt;&lt;P&gt;You can check your current memory settings with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc options group=memory;run;&lt;/P&gt;&lt;P&gt;Easiest if not running many programs simultaneously is Memsize=Max. But this option needs to be set in the configuration file so it is effective at start of SAS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 19:14:07 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-06-02T19:14:07Z</dc:date>
    <item>
      <title>Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181104#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a nonlinear problem that causes out-of-memory error for the solver in SAS.&amp;nbsp; Is there any setting that can enlarge memory allocation to avoid the error, or are there several nonlinear solver options available in SAS so I can try some others solvers other than the default one, or any other recommendation that can help me not to get the out-of-memory error.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 17:56:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181104#M938</guid>
      <dc:creator>wutao9999</dc:creator>
      <dc:date>2014-06-02T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181105#M939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a lot of memory options. Please describe:&lt;BR /&gt;- your SAS release and the OS-system environment&lt;/P&gt;&lt;P&gt;- do you have some support staf helping you with SAS&lt;/P&gt;&lt;P&gt;- The hardware you are using with his limits&lt;/P&gt;&lt;P&gt;- which procedure.process you are using getting this error&lt;/P&gt;&lt;P&gt;- The data sizing you are processing&lt;/P&gt;&lt;P&gt;- the exact message you have got&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181105#M939</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-06-02T19:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181106#M940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The generic memory management is the Memsize system option.&lt;/P&gt;&lt;P&gt;You can check your current memory settings with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc options group=memory;run;&lt;/P&gt;&lt;P&gt;Easiest if not running many programs simultaneously is Memsize=Max. But this option needs to be set in the configuration file so it is effective at start of SAS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 19:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181106#M940</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-06-02T19:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181107#M941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SAS release is Enterprise 5.1. The system is Windows 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the message for the error.&amp;nbsp; The error happens in a second, so I really don't believe the NLP solver has really started to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the optimization problem, I tried to remove the nonlinearity and reduce the problem to a linear programming problem but force to use NLP solver to solve it.&amp;nbsp; I got the exactly same error even just for the linear programming problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;357&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; solve with nlp / multistart seed = 51741&amp;nbsp; msnumstarts = 12&amp;nbsp; maxiter = 1;&lt;/P&gt;&lt;P&gt;NOTE: Problem generation will use 16 threads.&lt;/P&gt;&lt;P&gt;NOTE: The problem has 1321716 variables (0 free, 0 fixed).&lt;/P&gt;&lt;P&gt;NOTE: The problem uses 92173 implicit variables.&lt;/P&gt;&lt;P&gt;NOTE: The problem has 105815 linear constraints (4932 LE, 96936 EQ, 3947 GE, 0 range).&lt;/P&gt;&lt;P&gt;NOTE: The problem has 379108 linear constraint coefficients.&lt;/P&gt;&lt;P&gt;NOTE: The problem has 0 nonlinear constraints (0 LE, 0 EQ, 0 GE, 0 range).&lt;/P&gt;&lt;P&gt;NOTE: The OPTMODEL presolver removed 751891 variables, 96984 linear constraints, and 0 nonlinear constraints.&lt;/P&gt;&lt;P&gt;NOTE: The OPTMODEL presolved problem has 569825 variables, 8831 linear constraints, and 0 nonlinear constraints.&lt;/P&gt;&lt;P&gt;NOTE: The OPTMODEL presolver removed 348861 linear constraint coefficients, leaving 30247.&lt;/P&gt;&lt;P&gt;NOTE: Using analytic derivatives for objective.&lt;/P&gt;&lt;P&gt;NOTE: The NLP solver is called.&lt;/P&gt;&lt;P&gt;NOTE: The Interior Point algorithm is used.&lt;/P&gt;&lt;P&gt;NOTE: The MULTISTART option is enabled.&lt;/P&gt;&lt;P&gt;NOTE: The deterministic parallel mode is enabled.&lt;/P&gt;&lt;P&gt;NOTE: The Multistart algorithm is executing on the client.&lt;/P&gt;&lt;P&gt;NOTE: The Multistart algorithm is using up to 16 threads.&lt;/P&gt;&lt;P&gt;NOTE: Random number seed 51741 is used.&lt;/P&gt;&lt;P&gt;NOTE: The Multistart algorithm generated 0 sample points.&lt;/P&gt;&lt;P&gt;NOTE: 0 distinct local optima were found.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;ERROR: Out of memory in solver.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181107#M941</guid>
      <dc:creator>wutao9999</dc:creator>
      <dc:date>2014-06-02T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181108#M942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe the "Memory Limit" section from the SAS/OR 13.1 documentation will help you:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/ormpug/66851/HTML/default/viewer.htm#ormpug_concepts_sect005.htm" title="http://support.sas.com/documentation/cdl/en/ormpug/66851/HTML/default/viewer.htm#ormpug_concepts_sect005.htm"&gt;SAS/OR(R) 13.1 User's Guide: Mathematical Programming&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, can you share your PROC OPTMODEL code and preferably also the data?&amp;nbsp; It looks like the presolver is removing almost all of the constraints and more than half of the variables.&amp;nbsp; You might be able to save some memory by not declaring these in the first place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181108#M942</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2014-06-02T20:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181109#M943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read the link, but the SAS is running on a server.&amp;nbsp; I don't know how to set up the memory limit for the server though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 20:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181109#M943</guid>
      <dc:creator>wutao9999</dc:creator>
      <dc:date>2014-06-02T20:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181110#M944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I have built corresponding linear programming and Mixed integer programming models using exactly the same data sets.&amp;nbsp; They are all fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't understand why the NLP solver popped out an error without even starting to solve the problem.&amp;nbsp; If the large size of data sets caused the out of memory issues.&amp;nbsp; Don't the issues happen for the linear programming and MIP solvers as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 21:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181110#M944</guid>
      <dc:creator>wutao9999</dc:creator>
      <dc:date>2014-06-02T21:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear model: Out of Memory Error</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181111#M945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using Eguide 5.1 with a SAS installation on a Windows-Server belonging to a 9.3 SAS installation using 13.1 or 12.1 SAS/stat.&lt;/P&gt;&lt;P&gt;You need to contact you SAS-admin. He is able to setup/change some settings in the config_usermods file for your wokspace_server (SASApp).&lt;/P&gt;&lt;P&gt;Even a special appserver, one for you higher demands, could be setup.&lt;BR /&gt;I am expecting a server with a lot of Gb's on board and hoping for a 64-bit installation. The 32-bit version is limited to about 2Gb.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That 2Gb is the default setting of the memsize &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#n0srij4mcdpzv2n1vtphltb00xjw.htm" title="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#n0srij4mcdpzv2n1vtphltb00xjw.htm"&gt;SAS(R) 9.3 Companion for Windows&lt;/A&gt;. You could check memory usage by defining the fullstimer option.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;There are possible more memory settings as I have also seen the contiguous ones. That is when doing further analyses of your issue.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 06:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Nonlinear-model-Out-of-Memory-Error/m-p/181111#M945</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-06-03T06:18:49Z</dc:date>
    </item>
  </channel>
</rss>

