Closed caitriggs closed 3 years ago
I wonder if the fact that you have a comma in your node name is causing the problem. The node is AUBURNDALE, FL
right ?
Maybe give it a try with something like AUBURNDALE_FL
I wouldn't think this would matter since it's captured in quotes as a string for the key
testDict = {'HIGH SPRINGS, FL': 'testing spaces in key names'}
testDict['HIGH SPRINGS, FL']
returns 'testing space in key names' as expected
But I'll try it out
Yup! Replacing spaces and commas allows the key lookup to work. So must be a python dict instead of dataframe. Thanks!
Getting a key error that references an internal created dict key being called by
master_solv_pulp.py
. I'm trying to see where theconstr_name
would've been created from my graph's node name earlier in the call ("visit_node_%s" % node
).DiGraph() was created from
nx.from_pandas_edgelist()
usingcost
anddemand
attributes.Source
andSink
nodes were created using cost=0 to simulate OVRP problem:Error: