How I can stop search #4437
Answered
by
sschnug
vuphamngoctan1612
asked this question in
CP-SAT questions
-
I have problem and i use minimize to solve it. But i want to stop search when objective value = or < 3. What should i do? |
Beta Was this translation helpful? Give feedback.
Answered by
sschnug
Nov 13, 2024
Replies: 1 comment
-
See;
(slightly different styles in above examples!) While in those examples, the limit is an upper-bound on some (addition-operator) accumulation (one event = new incumbent), in your case the limit is an lower-bound on some (min-operator) accumulation (on incumbent values): it should be easy to adapt! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lperron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See;
(slightly different styles in above examples!)
While in those examples, the limit is an upper-bound on some (addition-operator) accumulation (one event = new incumbent), in your case the limit is an lower-bound on some (min-operator) accumulation (on incumbent values): it should be easy to adapt!