File "main.py", line 25, in
Scenario(parser=PARSER)
File "/home/tghosh/celavi/celavi/celavi/scenario.py", line 99, in init
self.setup()
File "/home/tghosh/celavi/celavi/celavi/scenario.py", line 248, in setup
self.netw = CostGraph(
File "/home/tghosh/celavi/celavi/celavi/costgraph.py", line 143, in init
self.build_supplychain_graph()
File "/home/tghosh/celavi/celavi/celavi/costgraph.py", line 724, in build_supplychain_graph
[f(_edge_dict) for f in self.supply_chain.edges[edge]["cost_method"]]
File "/home/tghosh/celavi/celavi/celavi/costgraph.py", line 724, in
[f(_edge_dict) for f in self.supply_chain.edges[edge]["cost_method"]]
File "/home/tghosh/celavi/celavi/celavi/costmethods.py", line 477, in fine_grinding
*_revenue = (1 - _loss) _revenue
TypeError: unsupported operand type(s) for -: 'int' and 'list'**
File "main.py", line 25, in
Scenario(parser=PARSER)
File "/home/tghosh/celavi/celavi/celavi/scenario.py", line 99, in init
self.setup()
File "/home/tghosh/celavi/celavi/celavi/scenario.py", line 248, in setup
self.netw = CostGraph(
File "/home/tghosh/celavi/celavi/celavi/costgraph.py", line 143, in init
self.build_supplychain_graph()
File "/home/tghosh/celavi/celavi/celavi/costgraph.py", line 724, in build_supplychain_graph
[f(_edge_dict) for f in self.supply_chain.edges[edge]["cost_method"]]
File "/home/tghosh/celavi/celavi/celavi/costgraph.py", line 724, in
[f(_edge_dict) for f in self.supply_chain.edges[edge]["cost_method"]]
File "/home/tghosh/celavi/celavi/celavi/costmethods.py", line 477, in fine_grinding
*_revenue = (1 - _loss) _revenue
TypeError: unsupported operand type(s) for -: 'int' and 'list'**