COIN-OR::LEMON - Graph Library

Opened 16 years ago

Last modified 15 years ago

#180 closed task

Port the remaining min. cost flow algorithms — at Version 7

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

Description (last modified by Peter Kovacs)

This ticket is a follow-up of #47.

The affected files are

  • lemon/cancel_and_tighten.h
  • lemon/capacity_scaling.h
  • lemon/cost_scaling.h
  • lemon/cycle_canceling.h
  • lemon/min_cost_flow.h
  • lemon/min_cost_max_flow.h

Change History (11)

comment:1 Changed 16 years ago by Alpar Juttner

Type: defectenhancement

comment:2 Changed 16 years ago by Alpar Juttner

Description: modified (diff)

comment:3 Changed 16 years ago by Peter Kovacs

Milestone: LEMON 1.1 release
Status: newassigned
Summary: Port the min. cost flow algorithms.Port the min. cost flow algorithms
Type: enhancementtask

This task depends on #51 and #179. Maybe it would be better in 1.2.

comment:4 Changed 16 years ago by Peter Kovacs

Description: modified (diff)
Summary: Port the min. cost flow algorithmsPort the remaining min. cost flow algorithms

The porting of Network Simplex is separated from the other MCF algorithms, since it is the most important, and it is easier to revise the interface of a single file. See #234 for details. For now on this ticket is only about the remaining MCF algorithms.

comment:5 in reply to:  3 Changed 16 years ago by Peter Kovacs

Replying to kpeter:

This task depends on #51 and #179. Maybe it would be better in 1.2.

Only BellmanFord class is needed from #51.

Apart from that StaticDigraph (#68) would be good to have for these files, too. In fact, it is not used in the current SVN versions (-r3520), but it would be much more efficient in some cases to copy the used ResidualDigraph adaptor to a StaticDigraph structure before running an algorithm (e.g. BellmanFord or MinMeanCycle) on it.

comment:6 Changed 16 years ago by Peter Kovacs

Milestone: LEMON 1.2 release

comment:7 Changed 15 years ago by Peter Kovacs

Description: modified (diff)

To sum it up, this task depends on the following tickets:

  • #51 Port BellmanFord
  • #179 Port the min mean cycle algorithms
  • #68 Port StaticDigraph

and finally

  • #146 Cheap copy of maps (reference counting)
    Maps are usually copied using copy constructor or operator= in the current implementations in SVN, but these methods can be avoided, if it is really necessary.

#51, #68 and #179 already contain the necessary patches, they only have to be revised.

Changed 15 years ago by Peter Kovacs

Attachment: 180-cas1-317a0e41f3d5.patch added

Changed 15 years ago by Peter Kovacs

Attachment: 180-cas2-49cf636d96c5.patch added

Changed 15 years ago by Peter Kovacs

Attachment: 180-cas3-c9964582a1bd.patch added

Changed 15 years ago by Peter Kovacs

Attachment: 180-cas4-08f7479bbc45.patch added
Note: See TracTickets for help on using tickets.