COIN-OR::LEMON - Graph Library

Opened 12 years ago

Closed 11 years ago

#5 closed defect (fixed)

LpGlpk::_setColName strange naming bug

Reported by: Alpar Juttner Owned by: Balazs Dezso
Priority: critical Milestone: LEMON 1.1 release
Component: core Version: svn trunk
Keywords: Cc:
Revision id:

Description

Setting column names of GLPK is not working properly.

This change would solve the problem:

lp_glpk.cc line 117
void LpGlpk::_setColName(int col, const std::string & name)
{
- lpx_set_col_name(lp,col,const_cast(name.c_str()));
+ lpx_set_col_name(lp,col,const_cast(("["+name+"]").c_str())); 
}

This ticket is a copy of report #17 of the old bug tracking system. It refers to svn trunk -r2474. The original report was posted by Janos Tapolcai.

Change History (9)

comment:1 Changed 12 years ago by Alpar Juttner

Milestone: LEMON 1.0 release

comment:2 Changed 12 years ago by Alpar Juttner

Milestone: LEMON 1.0 releasePost 1.0

comment:3 Changed 11 years ago by Balazs Dezso

Owner: changed from Alpar Juttner to Balazs Dezso

comment:4 Changed 11 years ago by anonymous

Iron decorates your home. They have a wide variety of design, assuring that you will find a special one for display at home. The metal stai http://www.hebei-railings.cn/

comment:5 Changed 11 years ago by Alpar Juttner

Priority: majorcritical

comment:6 Changed 11 years ago by Balazs Dezso

Status: newassigned

comment:7 Changed 11 years ago by Alpar Juttner

Does this problem still exist with recent version of GLPK?

comment:8 Changed 11 years ago by Balazs Dezso

I think, it is not a problem in recent versions.

comment:9 in reply to:  8 Changed 11 years ago by Alpar Juttner

Resolution: fixed
Status: assignedclosed

Replying to deba:

I think, it is not a problem in recent versions.

So I close this ticket.

Note: See TracTickets for help on using tickets.