COIN-OR::LEMON - Graph Library

Opened 7 years ago

Closed 7 years ago

#440 closed defect (fixed)

Bug fix in dimacs-solver

Reported by: Peter Kovacs Owned by: Alpar Juttner
Priority: major Milestone: LEMON 1.3 release
Component: core Version: hg main
Keywords: Cc:
Revision id:

Description

The attached patch fixes a bug in the dimacs-solver tool. The result of NetworkSimplex::run() was considered as a bool value, although it is an enum with three values. In fact, the behavior of the tool was not erroneous in most cases, since the values of INFEASIBLE and OPTIMAL were selected to be 0 and 1, respectively.

Attachments (1)

440-e1ee6ea9abc1.patch (1.4 KB) - added by Peter Kovacs 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Peter Kovacs

Attachment: 440-e1ee6ea9abc1.patch added

comment:1 Changed 7 years ago by Peter Kovacs

[e1ee6ea9abc1] is attached.

comment:2 Changed 7 years ago by Peter Kovacs

Status: newassigned

comment:3 Changed 7 years ago by Balazs Dezso

Owner: changed from Peter Kovacs to Alpar Juttner
Status: assignednew

The patch [e1ee6ea9abc1] looks good to me. Alpar, could you patch it to the main branch?

comment:4 in reply to:  3 Changed 7 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed

Replying to deba:

The patch [e1ee6ea9abc1] looks good to me. Alpar, could you patch it to the main branch?

Done (and also to branches 1.1 and 1.2), see [c5990f454032].

Note: See TracTickets for help on using tickets.