-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-SAT solver stopped working on Windows after updating to ortools 9.10 #4225
Comments
strange, I just created a venv, installed ortools and ran the ortools/sat/samples without any problem. Which python version ?
|
Python 3.11.1 |
try another python version ? I used 3.12.3 |
It looks like there are some breaking changes in CpSolver in 9.10 that doesn't work. But in python it doesn't reboot the server like in .NET #4224 |
Now everything is working fine. Updating the build tool for Visual Studio seems to help. P.S. thanks for such a wonderful library. |
I agree, the library is really great! |
This is still not working for me on python 3.11 + windows + ortools 9.10. IMHO This should not be closed. |
And i have the same issue with python 3.12 also. Error shown:
|
It works for the person that opened the bug. So it is closed. I did not
close #4227.
Le ven. 10 mai 2024, 16:53, nhuet ***@***.***> a écrit :
… And i have the same issue with python 3.12 also. Error shown:
Segmentation fault
—
Reply to this email directly, view it on GitHub
<#4225 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUPL3JNYOEZHCYY5YKJB7LZBTNQFAVCNFSM6AAAAABHPM7AC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUG42TGMBYGQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
What version of OR-Tools and what language are you using?
Version: v9.10
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Windows
What did you do?
The following simple script silently stops at the line
status = solver.solve(model)
. There is nothing in the console.What did you expect to see
Optimal values of
x
,y
,z
What did you see instead?
Nothing.
The text was updated successfully, but these errors were encountered: