Skip to content

Save solver state #2427

Closed Answered by lperron
rybickibartek asked this question in CP-SAT questions
Mar 8, 2021 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

The solve() itself is stateless.
You can store the last solution, and restart from it using hints in the model.

See https://github.com/google/or-tools/blob/stable/ortools/sat/docs/model.md#solution-hinting

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@rybickibartek
Comment options

@pramitbiswas
Comment options

@lperron
Comment options

Answer selected by rybickibartek
Comment options

You must be logged in to vote
1 reply
@rybickibartek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Missing Feature/Wrapper Solver: CP-SAT Solver Relates to the CP-SAT solver
3 participants
Converted from issue

This discussion was converted from issue #2426 on March 08, 2021 15:11.