ortools.graph.python.min_cost_flow

class SimpleMinCostFlow(pybind11_builtins.pybind11_object):
SimpleMinCostFlow()
def add_arc_with_capacity_and_unit_cost(unknown):

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

def add_arcs_with_capacity_and_unit_cost(unknown):

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

def set_node_supply(unknown):

set_node_supply(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, node: int, supply: int) -> None

def set_nodes_supplies(unknown):

set_nodes_supplies(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arg0: numpy.ndarray[numpy.int32], arg1: numpy.ndarray[numpy.int64]) -> object

def num_nodes(unknown):
def num_arcs(unknown):
def tail(unknown):
def head(unknown):
def capacity(unknown):
def supply(unknown):
def unit_cost(unknown):

unit_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arc: int) -> int

def solve(unknown):

solve(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> operations_research::MinCostFlowBase::Status

def solve_max_flow_with_min_cost(unknown):

solve_max_flow_with_min_cost(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow) -> operations_research::MinCostFlowBase::Status

def optimal_cost(unknown):
def maximum_flow(unknown):
def flow(unknown):
def flows(unknown):

flows(self: ortools.graph.python.min_cost_flow.SimpleMinCostFlow, arg0: numpy.ndarray[numpy.int32]) -> object

BAD_COST_RANGE = <Status.BAD_COST_RANGE: 6>
BAD_RESULT = <Status.BAD_RESULT: 5>
FEASIBLE = <Status.FEASIBLE: 2>
INFEASIBLE = <Status.INFEASIBLE: 3>
NOT_SOLVED = <Status.NOT_SOLVED: 0>
OPTIMAL = <Status.OPTIMAL: 1>
UNBALANCED = <Status.UNBALANCED: 4>
class SimpleMinCostFlow.Status(pybind11_builtins.pybind11_object):

Members:

BAD_COST_RANGE

BAD_RESULT

FEASIBLE

INFEASIBLE

NOT_SOLVED

OPTIMAL

UNBALANCED

SimpleMinCostFlow.Status()
name

name(self: object) -> str

BAD_COST_RANGE = <Status.BAD_COST_RANGE: 6>
BAD_RESULT = <Status.BAD_RESULT: 5>
FEASIBLE = <Status.FEASIBLE: 2>
INFEASIBLE = <Status.INFEASIBLE: 3>
NOT_SOLVED = <Status.NOT_SOLVED: 0>
OPTIMAL = <Status.OPTIMAL: 1>
UNBALANCED = <Status.UNBALANCED: 4>