Same model: infeasibility using presolve and optimality without

43 views
Skip to first unread message

Niklas Terés Leute

unread,
Jan 13, 2026, 6:28:46 AM (3 days ago) Jan 13
to or-tools-discuss
Hi,
I’m using CP-SAT (latest version) and seeing unexpected behavior. With the exact same model, the solver returns “infeasible” when presolve=True, but “optimal” when presolve=False. I have the exported model file (pb.txt) but it seems I can't attach it here. Let me know if I can send it to you somehow.  
Additionally, the infeasibility with presolve only occurs when I add the cumulative constraints in a certain order; if I change the order (even though the constraints are identical), the solver returns “optimal”.
Could this be a bug related to presolve?
Thanks,
Niklas

Laurent Perron

unread,
Jan 13, 2026, 6:30:20 AM (3 days ago) Jan 13
to or-tools-discuss
Definitely. 

Please send the proto to me. 

--Laurent


--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/or-tools-discuss/f61175cb-e0b2-4e7f-aaea-5388384f7011n%40googlegroups.com.

Niklas Terés Leute

unread,
Jan 13, 2026, 6:41:20 AM (3 days ago) Jan 13
to or-tools-discuss
Sent. Thanks!

Laurent Perron

unread,
Jan 13, 2026, 6:44:21 AM (3 days ago) Jan 13
to or-tools...@googlegroups.com
Have you tried with 9.15 ?
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00



Niklas Terés Leute

unread,
Jan 13, 2026, 8:40:54 AM (3 days ago) Jan 13
to or-tools-discuss
I used 9.14.6206. I just realised 9.15 had been released. It still hasn't been released on pypi, has it?

Laurent Perron

unread,
Jan 13, 2026, 8:54:02 AM (3 days ago) Jan 13
to or-tools...@googlegroups.com
Not yet, but the wheels should be on github



--
--Laurent

Reply all
Reply to author
Forward
0 new messages