Files
ortools-clone/ortools/graph/python/BUILD.bazel

31 lines
653 B
Python
Raw Normal View History

2022-03-31 18:21:35 +02:00
# Python wrapper for graph libraries.
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
pybind_extension(
name = "linear_sum_assignment",
srcs = ["linear_sum_assignment.cc"],
visibility = ["//visibility:public"],
deps = [
2022-04-04 13:26:40 +02:00
"//ortools/graph:assignment",
2022-03-31 18:21:35 +02:00
],
)
pybind_extension(
name = "max_flow",
srcs = ["max_flow.cc"],
visibility = ["//visibility:public"],
deps = [
2022-04-04 13:26:40 +02:00
"//ortools/graph:max_flow",
2022-03-31 18:21:35 +02:00
],
)
pybind_extension(
name = "min_cost_flow",
srcs = ["min_cost_flow.cc"],
visibility = ["//visibility:public"],
deps = [
2022-04-04 13:26:40 +02:00
"//ortools/graph:min_cost_flow",
2022-03-31 18:21:35 +02:00
],
2022-04-04 13:26:40 +02:00
)