> On 2011-12-29 20:26:24 -0400,
gospervand...@yahoo.com said:
>
>
>
> > (This is a repost from sci.math since there was no response there)
> > I have a flow network with gains, a single source and a single sink.
> > All capacities and gains are integers, all arcs are directed and
> > there
> > are no loops.
> > I want to maximise the flow on this network.
> > The flow must be wholly along a single arc leaving a node (i,e, if
> > arcs (A,B) and (A,C) exist and flow 1 enters node A, there cannot be
> > .5 flow leaving A along both (A,B) and (A,C), it must be 1 along
> > either
> > (A,B) or (A,C)).
> > I'm trying to find an algorithm that solves such a problem, but I
> > don't really know what to search for.
> > Can anyone tell me what the name for this type of problem is?
> > For bonus points: what algorithm(s) can I use to solve it?
> > Thank you very much.
>
> Why not just treat it as a linear program? If you get fractions it will
> either be because they are real or because they are an artifact of a
> degeneracy. In the latter case change the cost of one of the arcs by
> "epsilon".