-
Notifications
You must be signed in to change notification settings - Fork 8
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
pycsp3 fails to solve anything #29
Comments
I originally did not have Java installed, but after installing the latest Java from oracle.com nothing has changed (JRE). |
And I see the same behavior for both ACE and choco |
Update: after installing the Java Development Kit 18 it now works. Feel free to close this issue, but I am leaving it open to suggest that you add error messages if JDK is not installed and as note clearly in the documentation that JDK needs to be installed (I only saw it in the Windows install section—macOS doesn't include it anymore, I believe). |
I will try to think about this at the next update of the doc. |
I am using Python 3.9.7 on MacOS 12.4 (21F79) on Apple Silicon. Trying to solve anything will result in
UNKNOWN
returned by the solver. The solver log file is empty.To reproduce, the following example from the documentation fails to work:
(base) felixbinder@Felixs-MacBook-Pro tools_block_construction_human_experiments % /Users/felixbinder/opt/anaconda3/bin/python "/Users/felixbinder/Cloud/Grad School/Fan L
ab/Block_Construction/tools_block_construction_human_experiments/stimuli/BIBD_test_main.py"
Array x: [x[0], x[1], x[2], x[3]]
Domain of any variable: 0 1 2
UNKNOWN
The text was updated successfully, but these errors were encountered: