Hi,
I am having some trouble with selecting some arcs using the select function in python. The details of the problem is in the attached screenshot.
I have a list called sink.
sink[9] is simply the 10th element of the list which is the string 'OrgEgress2' .
When I do arcs.select('*','OrgEgress2'), I correctly get the incoming arcs to 'OrgEgress2'.
<gurobi.tuplelist (5 tuples, 2 values each):
( Sup2Sub0 , OrgEgress2 )
( Sup2Sub1 , OrgEgress2 )
( Sup2Sub2 , OrgEgress2 )
( Sup2Sub3 , OrgEgress2 )
( Sup2Sub4 , OrgEgress2 )
>
However when I do arcs.select('*',sink[9]), I can't get the correct arcs, I simply get an empty list.
I would appreciate if someone could help me.