ortools.graph.python.linear_sum_assignment

class SimpleLinearSumAssignment(pybind11_builtins.pybind11_object):
SimpleLinearSumAssignment()
def add_arc_with_cost(unknown):

add_arc_with_cost(self: ortools.graph.python.linear_sum_assignment.SimpleLinearSumAssignment, left_node: int, right_node: int, cost: int) -> int

def add_arcs_with_cost(unknown):

add_arcs_with_cost(self: ortools.graph.python.linear_sum_assignment.SimpleLinearSumAssignment, arg0: numpy.ndarray[numpy.int32], arg1: numpy.ndarray[numpy.int32], arg2: numpy.ndarray[numpy.int64]) -> object

def num_nodes(unknown):
def num_arcs(unknown):
def left_node(unknown):
def right_node(unknown):
def cost(unknown):
def solve(unknown):

solve(self: ortools.graph.python.linear_sum_assignment.SimpleLinearSumAssignment) -> operations_research::SimpleLinearSumAssignment::Status

def optimal_cost(unknown):
def right_mate(unknown):
def assignment_cost(unknown):

assignment_cost(self: ortools.graph.python.linear_sum_assignment.SimpleLinearSumAssignment, left_node: int) -> int

OPTIMAL = <Status.OPTIMAL: 0>
INFEASIBLE = <Status.INFEASIBLE: 1>
POSSIBLE_OVERFLOW = <Status.POSSIBLE_OVERFLOW: 2>
class SimpleLinearSumAssignment.Status(pybind11_builtins.pybind11_object):

Members:

OPTIMAL

INFEASIBLE

POSSIBLE_OVERFLOW

SimpleLinearSumAssignment.Status()
name

name(self: object) -> str

OPTIMAL = <Status.OPTIMAL: 0>
INFEASIBLE = <Status.INFEASIBLE: 1>
POSSIBLE_OVERFLOW = <Status.POSSIBLE_OVERFLOW: 2>