-
Notifications
You must be signed in to change notification settings - Fork 27
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
Use independent discrete-optimization library #208
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8fefae7
to
0b7b6aa
Compare
n_jobs is now equal to n_jobs_non_dummy + 2 (was n_jobs_non_dummy in a previous version) Fix a bug in test_scheduling::test_optimality() and test_scheduling::test_gecode_optimality()
Make sure that the argument passed to the partial SGS function follow requirement of discrete optimisation : disjoint "completed" and "scheduled"(=ongoing) taks. Previous behaviour was leading to wrong policy results.
Make it easier to see in which if block the code pass through. MS_RCPSPSolution_Variant being a MS_RCPSPSolution, it is now clearer that the code pass first by the MS_RCPSPSolution block.
Indeed this is included in the stand-alone library discrete-optimization
This will be covered by examples in discrete-optimization proper arborescence. We move the data in examples/discrete-optimization in examples/scheduling as it is used there.
Indeed, it is already a dependency of discrete-optimization library.
If minizinc (or discrete-optimization which imports itself minizinc) is imported before skdecide, the paths to minizinc are not yet configured as it is done in skdecide.hub.__init__.py So we do it manually
- Remove depencies that are actually dependencies of discrete-optimization - Add discrete-optimization as a dependency - Update poetry.lock accordingly with poetry update NB: poetry update was taking ages (never finishing actually), until I update poetry to 1.2.
0b7b6aa
to
9eef073
Compare
galleon
reviewed
Sep 26, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
galleon
approved these changes
Sep 26, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The discrete-optimization part of scikit-decide is now managed in an independent repository.
The dependencies are updated to use the newly deployed library and the code is slightly updated to adapt to the changes in discrete-optimization 0.2.0.