graph question - need some help...



Hi All,
I need to solve the following problem. I have a direct weighted (edge)
graph, and set of "origin" nodes.
There are 2 special characteristics to the graph:
1) Part of the origin nodes are "split" into 2 nodes- vi and vi'-
(their union represent just 1 node.-> vi)
2) Some nodes doesn't have incoming edges. We will call these nodes-
initiators and the have some weigh associated with them.


I want to visit all the node (for nodes that were split i can visit vi
or vi' (or both), and for initiator's node i must pay their weight) in
the minimum cost.
for nodes that are not initiators- i MUST use the edges from the graph.

Output: given the knowledge about the graph(nodes,split,initiator and
weights) i want a list of nodes to visit them and the total cost.

For example: this graph includes 5 origin nodes: v1 ,v2...v5
1) v2,v4,v5 are splits into v2,v2',v4,v4' and v5,v5'.
2) v1 and v3 are initiators. v1 weight is (a+x1) and v3 is also (a+x1).
3) the transitions cost from node ni to nj, are in the matrix below:
moving from v2 to v4 is: (a+x2)
the empty cells mean that there is no edge between the nodes.

to

v1 v2 v2' v3 v4 v4' v5 v5'

f v1 x2
v2 a (a+x2) (a+x2)
v2' 0 0
v3 x2 x2
v4 a (a+x2)
v4' 0
v5 a
v5'

Generally, how should i solve this problem, what is the complexity of
this problem? Does anyone know any good reference ?

any help will be appreciated,
Kiwi

.



Relevant Pages

  • Re: Graphs and reducibility(or something like that)
    ... results in graph theory ... Wis the "weight" of the edge NiNj which, for this problem, is ... This is kirchoffs current law which just says that the sum of the ... weights that are differential equations and inside those equations I have ...
    (sci.math)
  • Re: Question about heavier students...
    ... feature of the graph and not a limitation. ... it says nothing about a limit for the combined front-seat weight. ... capacity for baggage areas 1 and 2 is 120 lbs". ...
    (rec.aviation.student)
  • Re: Question about heavier students...
    ... feature of the graph and not a limitation. ... it says nothing about a limit for the combined front-seat weight. ... capacity for baggage areas 1 and 2 is 120 lbs". ...
    (rec.aviation.student)
  • Re: Python Programming Contest
    ... The thing is, it's fully general, so it works on absolutely any graph; if the graph you're traversing has particular properties, you might be able to leverage those to find a solution faster. ... Flights are then simply edges which link the origin city on the day they depart to the destination city on the next day; their weight is the cost of the flight. ...
    (comp.lang.python)
  • Re: Graphs and reducibility(or something like that)
    ... Where Z1, Z2, Z3 are differential equations. ... In reality the graph is equivalent to a system of differential equations ... In essence I think I can treat each branch with a weight as a vector ... This is kirchoffs current law which just says that the sum of the currents ...
    (sci.math)