[Cbc] Column names in GMPL Models
Haroldo Santos
haroldo.santos at gmail.com
Tue Jul 26 20:03:44 EDT 2011
Dear Forrest/Ted,
In cbc 2.7 when I solve a MathProg model column names are substituted by
sequential numbers.
Example: cbc color.mod% solve solu sol.txt (names in sol.txt are missing)
Looking in the source, I've found that I could "fix" the problem in
CbcSolver.cpp
just by changing an if:
CbcSolver.cpp:6380
changing:
if (keepImportNames && gmpl <= 0) {
to:
if (keepImportNames) {
I didn't understand why gmpl names were deliberately discarded.
Is there any reason for this ?
Cheers,
Haroldo
--
=============================================================
Haroldo Gambini Santos
Computing Department - Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
home/research page: www.decom.ufop.br/haroldo/
"Computer science is no more about computers than astronomy
is about telescopes." Edsger Dijkstra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20110726/dea15bc9/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: color.mod
Type: application/octet-stream
Size: 2855 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20110726/dea15bc9/attachment.obj
More information about the Cbc
mailing list