cplex unable to load name

Solver related questions
yanzhiping
User
User
Posts: 85
Joined: 8 months ago

cplex unable to load name

Postby yanzhiping » 8 months ago

I am using cplex.opt to define the LP file through

Code: Select all

writelp=M.lp
I don't use

Code: Select all

names no
.
Usually it could output lp file with variable names.
But this time it says
unable to load names
I have two options files actually.
cplex.opt
writelp=M1.lp
cplex.o99
writelp=M2.lp
I get names in M2.lp rather than in M1.lp.
all the other parameters are the same in these two option files.

Does anyone what to do with it? I need to keep the names otherwise it is meaningless to me.

User avatar
bussieck
Moderator
Moderator
Posts: 51
Joined: 1 year ago

Re: cplex unable to load name

Postby bussieck » 8 months ago

Hmmm, there can be a few reasons why the loading of the names fails. First you might have disabled the generation of names inside the GAMS code. One can do this by setting mymodel.dictfile=0; before the solve statement (https://www.gams.com/latest/docs/usergu ... used_b.htm). Another reason could be that you run out of memory when GAMS tries to load the names. If you can't figure this out I suggest you post the entire model plus log files to this forum.

-Michael


Who is online

Users browsing this forum: No registered users and 1 guest