Solver has started to apparently run forever #636
Replies: 2 comments 14 replies
-
Hello @mikepictor. Just so that I understand correctly - are you saying that your code, without any change, suddenly started behaving differently? No version upgrade of anything (incl. the JDK), no data set changes, no config changes? |
Beta Was this translation helpful? Give feedback.
-
Hello, @mikepictor. About the upgrade to version
Furthermore, the PR #637 will enhance the error message by making it more consistent and easier to understand. Thank you for sharing the issue! |
Beta Was this translation helpful? Give feedback.
-
Yesterday I went from getting a perfectly reasonable solution from my solver, to no solution at all. By this I mean that the solver seems to all of sudden be running forever, or at least I can see no sign of it stopping. My
spent-limit
is set to4s
(I'll give it more time in production, I just want it coming back to me quickly while I work on it), and that was very reliable until recently.it's not throwing exceptions, and it's no longer getting past this line.
I even rewound my code to an earlier iteration where I was getting results, and now again, it just seems to run forever. I can't even imagine what may have changed. My problem looks fine. I can even comment out all my constraints, and it STILL seems to run forever and/or it isn't returning a solution.
This just started late yesterday...one moment I was getting solves, then I wasn't. My colleague is running the same code, and it also never returns for him.
I experimented with this
and I do see in the logs that it is ending after 6 seconds (remember it should end after 4)...but I still get nothing back.
I know I didn't provide any reproducible code base, but I guess I'm just seeking ideas of what to look for? What changes can I try as an experiment?
My yaml config is as follows..
I tried changing the environment mode to REPRODUCIBLE, but it didn't help. All I get in the log is
I'd appreciate any advice that might make me look in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions