Unusual Error with CP-SAT

76 views
Skip to first unread message

Hugh Walters

unread,
Jun 12, 2024, 10:10:00 AM6/12/24
to or-tools-discuss
First of all, thanks to the ortools team for their products and support.

I decided to upgrade my version of CP-Sat from whatever I had (9.9.x) to the latest version (9.10.x) and started to get this error when running all my python programs that referenced cp_sat.
  Windows fatal exception: access violation Main thread: Current thread 0x00003c08 (most recent call first): File "C:\Anaconda3\Lib\site-packages\ortools\sat\python\cp_model.py", line 3158 in solve File "C:\Anaconda3\Lib\site-packages\ortools\sat\python\cp_model.py", line 3334 in Solve File "z:\sfjssp_run.py", line 897 in semi_flexible_jobshop File "z:\sfjssp_run.py", line 1016 in <module> File "C:\Anaconda3\Lib\site-packages\spyder_kernels\py3compat.py", line 356 in compat_exec File "C:\Anaconda3\Lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 473 in exec_code File "C:\Anaconda3\Lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 615 in _exec_file File "C:\Anaconda3\Lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 528 in runfile File "C:\Users\hpswa\AppData\Local\Temp\ipykernel_30028\4101100766.py", line 1 in <module.

Needless to say I panicked and did all sorts of things.  I am developing in spyder and using anaconda and this has never been a problem before.  What worked was uninstalling the latest version and installing version  9.9.3963.  

Any insights into what may be causing the failure?

Best,
Hugh

Laurent Perron

unread,
Jun 12, 2024, 10:54:18 AM6/12/24
to or-tools-discuss
Loot the release notes, stack overflow, github issues...

Both issue and fix have been documented 

--
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 on the web visit https://groups.google.com/d/msgid/or-tools-discuss/d6dad319-58e4-4595-b22a-a29dacc48e0dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages