-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job queue issues #14
Comments
Fascinating. In any case, @wouterbles, are you able to add a test case that tests for the completeness of the pareto front, perhaps? |
Interesting indeed. I have mainly been running the 3kp40/3kp50 cases. Which are in the Did some tests with both versions of the queueing. By the way, make sure to add the latest commit that sets the
|
@yvanoers created a fix for this issue in the latest PR, this bug was introduced by a refactor a while ago. Thanks for discovering the issue! Instead of queuing each grid point individually (which you proposed), they are grouped in 'rows', which means processes will take up bigger chunks of work. |
Nice work! I ran a test with my original changes and it found only 358 solutions. So the algorithm needs the items it is processing in order and in the same process. When items get picked off the queue, it could jump over items it is not supposed to skip. I don't understand the algorithm well enough to known whether your row-based approach does not suffer from this. The |
That's definetely something to look into. I think it might make sense to reset the jump counter when taking a new block of work. |
@yvanoers proposed changes to the job queue in #11, I reverted these changes in release 1.0.2 after some local testing as it results in longer solves and an incomplete pareto front. Should look into this more thoroughly to find out why.
Things to figure out:
The text was updated successfully, but these errors were encountered: