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

Implement a sequential metasolver #269

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Aug 9, 2024

  • Chain several subsolvers
  • Next subsolver warm started by the best solution of the previous one
  • subsolvers must inherit from WarmstartMixin, except for first one
  • **kwargs needed in all solvers __init__() method as we apply
    • subsolver.__init__(problem=problem, **kwargs)
    • subsolver.init_model(**kwargs)
    • subsolver.solve(**kwargs)

- Chain several subsolvers
- Next subsolver warm started by the best solution of the previous one*
- subsolvers must inherit from WarmstartMixin, except for first one
- **kwargs needed in all solvers __init__() method as we apply
   - subsolver.__init__(problem=problem, **kwargs)
   - subsolver.init_model(**kwargs)
   - subsolver.solve(**kwargs)
@nhuet nhuet force-pushed the sequential-solver branch from 4bb05f9 to 4439890 Compare August 13, 2024 07:43
@nhuet nhuet marked this pull request as ready for review August 13, 2024 07:43
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 51f4401 into airbus:master Aug 13, 2024
14 checks passed
@nhuet nhuet deleted the sequential-solver branch September 23, 2024 07:38
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