Skip to content
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

Update DOSolver for last d-o release and add callback functionality #353

Merged
merged 3 commits into from
May 13, 2024

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented May 10, 2024

  • Move sgs_policies and gphh to do_solve

    • sgs_policies is not a solver itself and is used only by gphh and do_solver
    • do_solver and gphh are both solvers based on discrete-optimization
    • gphh is to be using discrete_optimization's own GPHH

    => we put stuff related to d-o into do_solver subpackage

  • Update build_solver()

  • Add possibility to plug a callback : this is a function called at the end of each iteration of the solver, taking as arguments the solver and the domain, and returning True if the solver must be stopped.

nhuet added 3 commits May 7, 2024 15:45
- sgs_policies is not a solver itself and is used only by gphh and
do_solver
- do_solver and gphh are both solvers based on discrete-optimization
- gphh is to be using discrete_optimization's own GPHH

=> we put stuff related to d-o into do_solver subpackage
Copy link
Collaborator

@g-poveda g-poveda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@g-poveda g-poveda merged commit 17f739c into airbus:master May 13, 2024
33 checks passed
@nhuet nhuet deleted the do_solver branch July 5, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants