Hi @filipeom,
Another idea I had today! Could it be possible to remember the query of the last check in the solver's state? Then, on model generation, we could avoid calling the solver for the check required before get_model if the query is the last one that was sent?
The rationale is 1. it is likely that they'll be the same 2. they are likely expensive because they usually happening at the end of the execution and thus likely to be bigger.
WDYT?
Hi @filipeom,
Another idea I had today! Could it be possible to remember the query of the last
checkin the solver's state? Then, on model generation, we could avoid calling the solver for thecheckrequired beforeget_modelif the query is the last one that was sent?The rationale is 1. it is likely that they'll be the same 2. they are likely expensive because they usually happening at the end of the execution and thus likely to be bigger.
WDYT?