mumps parameters Topic is solved

Problems with syntax of GAMS
Post Reply
btf
User
User
Posts: 4
Joined: 4 weeks ago

mumps parameters

Post by btf » 4 weeks ago

Dear Experts,

how to set mumps_mem_percent parameter in gams?

User avatar
bussieck
Moderator
Moderator
Posts: 601
Joined: 4 years ago

Re: mumps parameters

Post by bussieck » 4 weeks ago

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

btf
User
User
Posts: 4
Joined: 4 weeks ago

Re: mumps parameters

Post by btf » 4 weeks ago

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.

User avatar
bussieck
Moderator
Moderator
Posts: 601
Joined: 4 years ago

Re: mumps parameters

Post by bussieck » 4 weeks ago

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

btf
User
User
Posts: 4
Joined: 4 weeks ago

Re: mumps parameters

Post by btf » 3 weeks ago

The log of CoinBonmin is in the attachment.
splp.log
(1.85 KiB) Downloaded 15 times

User avatar
bussieck
Moderator
Moderator
Posts: 601
Joined: 4 years ago

Re: mumps parameters

Post by bussieck » 3 weeks ago

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 KiB) Downloaded 14 times
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.

btf
User
User
Posts: 4
Joined: 4 weeks ago

Re: mumps parameters

Post by btf » 3 weeks ago

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

Post Reply