Skip to content

Commit

Permalink
Removed time limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Mar 14, 2024
1 parent f09d198 commit 50906c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/or-tools/constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void init_constraint(Rice::Module& m) {
// m.GetOrCreate<TimeLimit>()->RegisterExternalBooleanAsLimit(&stopped);
std::atomic<bool>* stopped = new std::atomic<bool>;
(*stopped) = false;
m.GetOrCreate<TimeLimit>()->RegisterExternalBooleanAsLimit(stopped);
// m.GetOrCreate<TimeLimit>()->RegisterExternalBooleanAsLimit(stopped);

if (!callback.is_nil()) {
m.Add(NewFeasibleSolutionObserver(
Expand Down

0 comments on commit 50906c6

Please sign in to comment.