Dear Experts,

how to set mumps_mem_percent parameter in gams?

## mumps parameters Topic is solved

### Re: mumps parameters

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_SolverU ... on_21_file

-Michael

-Michael

### Re: mumps parameters

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.

i tried to write in model

$onecho > ipopt/bonmin/coinbonmin.opt

mumps_mem_percent 5

$offecho

model.OptFile = 1;

but it does not work.

### Re: mumps parameters

Looks good. Why don't you send your log file to see what's going on. -Michael

### Re: mumps parameters

The log of CoinBonmin is in the attachment.

### Re: mumps parameters

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

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:Code: Select all

```
--- 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.
```

### Re: mumps parameters

Thank you!

I didn’t know that parameters need to be define before string Solve "MODEL".

I didn’t know that parameters need to be define before string Solve "MODEL".