Skip to content

Commit e138e69

Browse files
committed
sat: Fix RelativeGapLimitTest.BooleanLinearOptimizationProblem
1 parent def1096 commit e138e69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ortools/sat/cp_model_solver_test.cc

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ TEST(RelativeGapLimitTest, BooleanLinearOptimizationProblem) {
133133

134134
Model model;
135135
SatParameters params;
136+
params.set_num_workers(1);
136137
params.set_relative_gap_limit(1e10); // Should stop at the first solution!
137138

138139
int num_solutions = 0;

0 commit comments

Comments
 (0)