cplex unable to load name

Solver related questions
Posts: 36
Joined: 1 month ago

cplex unable to load name

Postby yanzhiping » 1 month ago

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

Code: Select all


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.


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
Posts: 24
Joined: 6 months ago

Re: cplex unable to load name

Postby bussieck » 1 month 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.


Return to “Solvers”

Who is online

Users browsing this forum: No registered users and 1 guest