Skip to content

Commit 2e2e06a

Browse files
committed
Merge branch 'main' of github.com:google/or-tools
2 parents 3f0a93e + b513292 commit 2e2e06a

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

examples/cpp/nqueens.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "ortools/base/logging.h"
3030
#include "ortools/base/map_util.h"
3131
#include "ortools/base/types.h"
32+
#include "ortools/constraint_solver/constraint_solver.h"
3233
#include "ortools/constraint_solver/constraint_solveri.h"
3334

3435
ABSL_FLAG(bool, print, false, "If true, print one of the solution.");
@@ -39,7 +40,6 @@ ABSL_FLAG(
3940
int, size, 0,
4041
"Size of the problem. If equal to 0, will test several increasing sizes.");
4142
ABSL_FLAG(bool, use_symmetry, false, "Use Symmetry Breaking methods");
42-
ABSL_DECLARE_FLAG(bool, cp_disable_solve);
4343

4444
static const int kNumSolutions[] = {
4545
1, 0, 0, 2, 10, 4, 40, 92, 352, 724, 2680, 14200, 73712, 365596, 2279184};

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module github.com/google/or-tools
33
go 1.22.2
44

55
require (
6-
github.com/golang/glog v1.2.2
7-
google.golang.org/protobuf v1.36.5
6+
github.com/golang/glog v1.2.2
7+
google.golang.org/protobuf v1.36.5
88
)

ortools/algorithms/python/CMakeLists.txt

+7
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ endif()
3030

3131
target_link_libraries(knapsack_solver_pybind11 PRIVATE ${PROJECT_NAMESPACE}::ortools)
3232
add_library(${PROJECT_NAMESPACE}::knapsack_solver_pybind11 ALIAS knapsack_solver_pybind11)
33+
34+
if(BUILD_TESTING)
35+
file(GLOB PYTHON_SRCS "*_test.py")
36+
foreach(FILE_NAME IN LISTS PYTHON_SRCS)
37+
add_python_test(FILE_NAME ${FILE_NAME})
38+
endforeach()
39+
endif()

tools/doc/gen_ref_doc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def create_section_data():
161161
'ortools/graph/connectivity.h ' +
162162
'ortools/graph/eulerian_path.h ' + 'ortools/graph/graph.h ' +
163163
'ortools/graph/graphs.h ' + 'ortools/graph/hamiltonian_path.h ' +
164-
'ortools/graph/io.h ' + 'ortools/graph/iterators.h ' +
164+
'ortools/graph/graph_io.h ' + 'ortools/graph/iterators.h ' +
165165
'ortools/graph/linear_assignment.h ' + 'ortools/graph/max_flow.h ' +
166166
'ortools/graph/min_cost_flow.h ' +
167167
'ortools/graph/minimum_spanning_tree.h ' +

0 commit comments

Comments
 (0)