def AddArcWithCapacityAndUnitCost(
     self, tail: "operations_research::NodeIndex",
     head: "operations_research::NodeIndex",
     capacity: "operations_research::FlowQuantity",
     unit_cost: "operations_research::CostValue"
 ) -> "operations_research::ArcIndex":
     return _pywrapgraph.SimpleMinCostFlow_AddArcWithCapacityAndUnitCost(
         self, tail, head, capacity, unit_cost)
Beispiel #2
0
 def AddArcWithCapacityAndUnitCost(self, tail, head, capacity, unit_cost):
     return _pywrapgraph.SimpleMinCostFlow_AddArcWithCapacityAndUnitCost(self, tail, head, capacity, unit_cost)