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
It seems presolving can break a hint to CPSAT; see below.
Starting CP-SAT solver v9.13.4784
Parameters: log_search_progress: true
...
Starting presolve at 0.00s
The solution hint is complete and is feasible. Its objective value is 75235.
...
Preloading model.
#Bound 0.01s best:-inf next:[-364008,315384] initial_domain
The solution hint is complete, but it is infeasible! we will try to repair it.
#Model 0.01s var:26/27 constraints:11/11
Can you explain to me what works and what does not work ?
Laurent Perron | Operations Research | ***@***.*** | (33) 1 42 68 53
00
Le lun. 11 août 2025 à 12:36, Max Reynolds ***@***.***> a
écrit :
Activity
lperron commentedon Jun 18, 2025
please attach the model
sghb commentedon Jun 18, 2025
prize_collecting_proto.txt
lperron commentedon Jun 18, 2025
Thanks. We will look at it.
[CP-SAT] improve precedences; fix #4693; tweak shared tree workers
lperron commentedon Jun 23, 2025
Fixed on main.
Thanks
MarcelloTheArcane commentedon Aug 11, 2025
@lperron I'm getting the same issue. I've got a big list of variables, if I truncate it to a small value, it works as expected.
Logs and models attached - it's a multi-stage solve, and happens on stages 2 and 3.
solve_2.txt
solve_3.txt
before_stage_2_clean.txt
before_stage_3_clean.txt
If I set
solver.parameters.keep_all_feasible_solutions_in_presolve = Truefrom #4373 it works, but I'm worried it might be slowing the solve down.lperron commentedon Aug 11, 2025
lperron commentedon Aug 11, 2025
This is what I get on main:
and
MarcelloTheArcane commentedon Aug 12, 2025
Both the examples above don't work for me on v9.14.6206, they are two different solve stages.
Here are some more complete examples:
Small model,
keep_all_feasible_solutions_in_presolve = FalseSmall model,
keep_all_feasible_solutions_in_presolve = TrueLarge model,
keep_all_feasible_solutions_in_presolve = FalseLarge model,
keep_all_feasible_solutions_in_presolve = Truelperron commentedon Aug 12, 2025
MarcelloTheArcane commentedon Aug 13, 2025
Thanks @lperron!
How long will it be before this gets to pip, or do I need to build from source?