Dear Experts,
how to set mumps_mem_percent parameter in gams?
Dear Experts,
how to set mumps_mem_percent parameter in gams?
The option in question is an option of the IpOpt or Bonmin solver, so just use a solver option file, described here https://www.gams.com/35/docs/UG_SolverUsage.html#INDEX_Solver_21_Usage_22_solver_21_option_21_file
-Michael
i don’t know which file need to modife and where it locate.
i tried to write in model
$onecho > ipopt/bonmin/coinbonmin.opt
mumps_mem_percent 5
$offecho
model.OptFile = 1;
but it does not work.
Looks good. Why don’t you send your log file to see what’s going on. -Michael
The log of CoinBonmin is in the attachment.
splp.log (1.85 KB)
I meant the GAMS log with the model name etc. But it might not be of that much value after all. I had no issues running the attached example program
fuel.gms (2.35 KB)
and setting the option. Perhaps you can run this and see what’s going on. When I run this I get the following (relevant) log:
--- Generating MINLP model ucom
--- fuel.gms(72) 6 Mb
--- 16 rows 16 columns 39 non-zeroes
--- 42 nl-code 6 nl-non-zeroes
--- 3 discrete-columns
--- fuel.gms(72) 4 Mb
--- Executing BONMIN (Solvelink=2): elapsed 0:00:00.010
COIN-OR Bonmin 35.1.0 r82a9585 Released Apr 29, 2021 WEI x86 64bit/MS Window
COIN-OR Bonmin (Bonmin Library 1.8)
written by P. Bonami.
Note: This is the free version BONMIN, but you could also use the commercially supported and potentially higher performance version BONMINH.
List of user-set options:
Name Value used
mumps_mem_percent = 5 yes
******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Eclipse Public License (EPL).
For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************
This is Ipopt version 3.12, running with linear solver mumps.
Thank you!
I didn’t know that parameters need to be define before string Solve “MODEL”.