You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use OR-tools with a combination of both assumptions and solution hinting.
However, I've ran into the following problem where adding a solution hint to the model yields an invalid solution.
Clearly, the model does not have a solution when we add the assumption y = 1. This is correctly found by the solver when turning off the solution hint, or by disabling presolve.
However, when adding the solution hint and enabling presolve, the solver finds the following solution, which is invalid given the assumptions: [x = 1, y = 0]
I am using OR-Tools v9.10.4067 on Linux.
Kind regards,
Ignace
The text was updated successfully, but these errors were encountered:
OK. It is closed by presolve and we report a wrong status.
We will fix it, but low priority.
lperron
changed the title
Solution hint and Assumptions find invalid solution
Solution hint and Assumptions reports wrong status when solved after presolve
Jul 24, 2024
Hi,
I am trying to use OR-tools with a combination of both assumptions and solution hinting.
However, I've ran into the following problem where adding a solution hint to the model yields an invalid solution.
Below is a minimal example:
Clearly, the model does not have a solution when we add the assumption
y = 1
. This is correctly found by the solver when turning off the solution hint, or by disabling presolve.However, when adding the solution hint and enabling presolve, the solver finds the following solution, which is invalid given the assumptions: [x = 1, y = 0]
I am using OR-Tools v9.10.4067 on Linux.
Kind regards,
Ignace
The text was updated successfully, but these errors were encountered: