Opened 17 years ago
Closed 16 years ago
#9 closed defect (fixed)
Verbosity of the messages for CPLEX
Reported by: | Alpar Juttner | Owned by: | Balazs Dezso |
---|---|---|---|
Priority: | major | Milestone: | LEMON 1.1 release |
Component: | core | Version: | hg main |
Keywords: | lp, glpk, cplex | Cc: | |
Revision id: |
Description
The glpk version of the lp interface has a function
void messageLevel(int m);
This functionality would also be useful for CPLEX or all lp solvers.
This ticket is a copy of report #29 of the old bug tracking system. It refers to svn trunk -r2534. The original report was posted by Janos Tapolcai.
Attachments (2)
Change History (11)
comment:1 Changed 17 years ago by
Milestone: | → Post 1.0 |
---|
comment:2 Changed 17 years ago by
Owner: | changed from Alpar Juttner to Balazs Dezso |
---|
comment:3 Changed 16 years ago by
Status: | new → assigned |
---|
Changed 16 years ago by
Attachment: | message_handling.bundle added |
---|
comment:4 follow-ups: 5 6 Changed 16 years ago by
I have uploaded a bundle for message handling in various solvers.
comment:5 Changed 16 years ago by
Replying to deba:
I have uploaded a bundle for message handling in various solvers.
I have a short look at the attached bundle file. It looks good. My problem is that If I want to see the messages with GLPK, I should write
lp.messageLevel(GlpkBase::MESSAGE_FULL_OUTPUT);
while with Clp it reads
lp.messageLevel(CbcLp::MESSAGE_VERBOSE_OUTPUT);
and with CBC it reads
lp.messageLevel(CbcMip::MESSAGE_FULL_OUTPUT);
and with CPLEX it reads
lp.messageLevel(CplexBase::MESSAGE_NORMAL_OUTPUT);
It makes it unnecessary hard to switch between the solvers. I suggest declaring a unified set of message levels and move this enum to the common base-class.
comment:6 Changed 16 years ago by
comment:7 Changed 16 years ago by
The patch [0cad57c38b52] contains unified message handling for solvers.
comment:8 Changed 16 years ago by
Version: | svn trunk → hg main |
---|
comment:9 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I merged everything here into a single chgset and pushed to the main branches, see [745e182d0139].
Log verbosity settings in various solvers