--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ampl/ppf2tp2VDDs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ampl+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ampl/reply-77152-1004520277-2834589014-1573608693-1594298177%40helpscout.net.
Hello Bob
Would you explain me please what is the logic about the command threads please?
Best and regrats
Miguel Rodríguez
El mar., 12 nov. 2019 a las 20:31, AMPL Google Group (<am...@googlegroups.com>) escribió:
On Wed, Nov 13, 2019 at 1:31 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
You do have a large problem (about 5 million variables and constraints) and there is no doubt that CPLEX ran out of memory after presolving but before the main tree-search could begin. Here are some recommended troubleshooting steps:
- To be sure that CPLEX was able to use all memory on your computer, give the AMPL command
shell "cplex -v";
and look for "64-bit" in the resulting message. (If you see "32-bit" then you need to download the 64-bit version instead.)- Add threads=1 to your cplex_options string. Currently CPLEX is trying to run with 12 threads, which uses extra memory. (If CPLEX can solve successfully with 1 thread, then possibly it will solve faster and still fit in memory with a few more threads.)
- Make some trial versions of your problem that are smaller but still non-trivial. Usually this can be done by reducing the data in some reasonable way. By looking at the logs from the trial versions, you can get an idea of CPLEX's memory needs for your application, and then you can extrapolate to the larger version that you really want to solve.
--
Robert Fourer
am...@googlegroups.com