Closed ykazakov closed 4 years ago
Hi Yevgeny, thanks for your questions and remarks (in other issues). Let me asnwer: 1, the state after an interrupted ipasir_solve must change to INPUT 2, the state of the solver during ipasir_solve is undefined and therefore none of the other methods should be used.
As for your remarks, I agree with all of them, why don't you create a pull request with the changes you propose so we could integrate them in ipasir?
A few questions/clarifications about the documentation of ipasir_solve:
When the call of
ipasir_solve
is interrupted (usingipasir_set_terminate
) the documentation says thatthe state of the solver remains INPUT
. What if it was SAT or UNAST before the call ofipasir_solve
? Should it change to INPUT or remain the same as before?What is the state of the solver during the run of ipasir_solve, e.g., when callback functions of
ipasir_set_terminate
oripasir_set_learn
are triggered? Is it allowed to call other functions, e.g.,ipasir_val
oripasir_add
in callbacks? Probably not a good idea. Should it be documented?