Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions ortools/algorithms/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -411,22 +411,3 @@ cc_library(
"@abseil-cpp//absl/time",
],
)

cc_test(
name = "n_choose_k_test",
srcs = ["n_choose_k_test.cc"],
deps = [
":n_choose_k",
"//ortools/base:dump_vars",
"//ortools/base:fuzztest",
"//ortools/base:gmock_main",
"//ortools/base:mathutil",
"//ortools/util:flat_matrix",
"@abseil-cpp//absl/numeric:int128",
"@abseil-cpp//absl/random",
"@abseil-cpp//absl/random:distributions",
"@abseil-cpp//absl/status",
"@abseil-cpp//absl/status:statusor",
"@google_benchmark//:benchmark",
],
)
13 changes: 0 additions & 13 deletions ortools/base/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,6 @@ cc_library(
],
)

cc_library(
name = "fuzztest",
testonly = 1,
hdrs = ["fuzztest.h"],
deps = [
"@abseil-cpp//absl/log:check",
"@fuzztest//fuzztest",
"@fuzztest//fuzztest:googletest_fixture_adapter",
"@fuzztest//fuzztest:init_fuzztest",
"@protobuf",
],
)

cc_library(
name = "gmock",
hdrs = ["gmock.h"],
Expand Down
23 changes: 0 additions & 23 deletions ortools/math_opt/core/python/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@pip_deps//:requirements.bzl", "requirement")
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
load("@rules_python//python:py_test.bzl", "py_test")

package(default_visibility = ["//ortools/math_opt:__subpackages__"])

Expand Down Expand Up @@ -60,24 +58,3 @@ pybind_extension(
"@pybind11_protobuf//pybind11_protobuf:native_proto_caster",
],
)

py_test(
name = "solver_test",
size = "small",
srcs = ["solver_test.py"],
deps = [
":solver",
requirement("absl-py"),
"//ortools/math_opt:callback_py_pb2",
"//ortools/math_opt:model_parameters_py_pb2",
"//ortools/math_opt:model_py_pb2",
"//ortools/math_opt:model_update_py_pb2",
"//ortools/math_opt:parameters_py_pb2",
"//ortools/math_opt:result_py_pb2",
"//ortools/math_opt/solvers:cp_sat_solver",
"//ortools/math_opt/solvers:glop_solver",
"//ortools/math_opt/solvers:gscip_solver",
"//ortools/util/python:pybind_solve_interrupter",
"@pybind11_abseil//pybind11_abseil:status",
],
)
14 changes: 0 additions & 14 deletions ortools/math_opt/elemental/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -540,20 +540,6 @@ cc_test(
],
)

cc_test(
name = "elemental_from_proto_fuzz_test",
srcs = ["elemental_from_proto_fuzz_test.cc"],
tags = ["componentid:1147829"],
deps = [
":elemental",
":elemental_matcher",
"//ortools/base:fuzztest",
"//ortools/base:gmock_main",
"//ortools/math_opt:model_update_cc_proto",
"@abseil-cpp//absl/status:statusor",
],
)

cc_test(
name = "elemental_update_from_proto_test",
srcs = ["elemental_update_from_proto_test.cc"],
Expand Down
33 changes: 0 additions & 33 deletions ortools/math_opt/solvers/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -72,39 +72,6 @@ cc_library(
alwayslink = 1,
)

cc_test(
name = "gscip_solver_test",
size = "medium",
srcs = ["gscip_solver_test.cc"],
shard_count = 10,
deps = [
":gscip_solver",
"//ortools/base:gmock",
"//ortools/base:gmock_main",
"//ortools/math_opt/cpp:matchers",
"//ortools/math_opt/cpp:math_opt",
"//ortools/math_opt/solver_tests:callback_tests",
"//ortools/math_opt/solver_tests:generic_tests",
"//ortools/math_opt/solver_tests:infeasible_subsystem_tests",
"//ortools/math_opt/solver_tests:invalid_input_tests",
"//ortools/math_opt/solver_tests:ip_model_solve_parameters_tests",
"//ortools/math_opt/solver_tests:ip_multiple_solutions_tests",
"//ortools/math_opt/solver_tests:ip_parameter_tests",
"//ortools/math_opt/solver_tests:logical_constraint_tests",
"//ortools/math_opt/solver_tests:mip_tests",
"//ortools/math_opt/solver_tests:multi_objective_tests",
"//ortools/math_opt/solver_tests:qc_tests",
"//ortools/math_opt/solver_tests:qp_tests",
"//ortools/math_opt/solver_tests:second_order_cone_tests",
"//ortools/math_opt/solver_tests:status_tests",
"//ortools/math_opt/solvers/gscip:gscip_parameters",
"//ortools/math_opt/testing:param_name",
"//ortools/port:scoped_std_stream_capture",
"@abseil-cpp//absl/status",
"@abseil-cpp//absl/status:statusor",
],
)

cc_library(
name = "gurobi_callback",
srcs = ["gurobi_callback.cc"],
Expand Down
42 changes: 0 additions & 42 deletions ortools/math_opt/solvers/gscip/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -123,33 +123,6 @@ cc_library(
],
)

cc_test(
name = "gscip_test",
size = "small",
srcs = ["gscip_test.cc"],
deps = [
":gscip",
":gscip_cc_proto",
":gscip_parameters",
":gscip_testing",
"//ortools/base:file",
"//ortools/base:gmock",
"//ortools/base:gmock_main",
"//ortools/base:logging",
"//ortools/base:temp_file",
"@abseil-cpp//absl/cleanup",
"@abseil-cpp//absl/container:flat_hash_map",
"@abseil-cpp//absl/container:flat_hash_set",
"@abseil-cpp//absl/log:check",
"@abseil-cpp//absl/status",
"@abseil-cpp//absl/status:statusor",
"@abseil-cpp//absl/strings",
"@abseil-cpp//absl/synchronization",
"@abseil-cpp//absl/time",
"@scip",
],
)

cc_test(
name = "gscip_io_test",
size = "medium",
Expand Down Expand Up @@ -235,21 +208,6 @@ cc_library(
],
)

cc_test(
name = "gscip_from_mp_model_proto_test",
srcs = ["gscip_from_mp_model_proto_test.cc"],
deps = [
":gscip",
":gscip_cc_proto",
":gscip_from_mp_model_proto",
":gscip_testing",
"//ortools/base:gmock",
"//ortools/base:gmock_main",
"//ortools/base:parse_test_proto",
"//ortools/linear_solver:linear_solver_cc_proto",
],
)

cc_library(
name = "gscip_message_handler",
srcs = ["gscip_message_handler.cc"],
Expand Down
Loading