Skip to content

remember last query to avoid useless call on model generation #518

@redianthus

Description

@redianthus

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions