ortools.graph.python.min_cost_flow
add_arc_with_capacity_and_unit_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, tail: int, head: int, capacity: int, unit_cost: int) -> int
add_arcs_with_capacity_and_unit_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arg0: numpy.ndarray[numpy.int32], arg1: numpy.ndarray[numpy.int32], arg2: numpy.ndarray[numpy.int64], arg3: numpy.ndarray[numpy.int64]) -> object
set_node_supply(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, node: int, supply: int) -> None
set_nodes_supplies(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arg0: numpy.ndarray[numpy.int32], arg1: numpy.ndarray[numpy.int64]) -> object
num_nodes(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> int
tail(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arc: int) -> int
head(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arc: int) -> int
capacity(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arc: int) -> int
supply(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, node: int) -> int
unit_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arc: int) -> int
solve(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> operations_research::MinCostFlowBase::Status
solve_max_flow_with_min_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> operations_research::MinCostFlowBase::Status
optimal_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> int
maximum_flow(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> int
flow(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arc: int) -> int
flows(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arg0: numpy.ndarray[numpy.int32]) -> object
Members:
BAD_COST_RANGE
BAD_RESULT
FEASIBLE
INFEASIBLE
NOT_SOLVED
OPTIMAL
UNBALANCED
__init__(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow.Status, value: int) -> None