-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error using MiniZinc.jl on WSL2 #88
Comments
What is the result of julia> import Pkg; Pkg.status() |
This is what I get: Status `~/.julia/environments/v1.10/Project.toml`
[a93c6f00] DataFrames v1.6.1
⌃ [31c24e10] Distributions v0.25.109
[38e38edf] GLM v1.9.0
[87dc4568] HiGHS v1.9.3
[0e44f5e4] Hwloc v3.3.0
⌃ [7073ff75] IJulia v1.24.2
[41ab1584] InvertedIndices v1.3.0
[4076af6c] JuMP v1.23.2
[b8f27783] MathOptInterface v1.31.2
⌃ [a7f392d2] MiniZinc v0.2.1
⌃ [6fe1bfb0] OffsetArrays v1.14.0
[14b8a8f1] PkgTemplates v0.7.52
⌃ [91a5bcdd] Plots v1.40.4
⌃ [c3e4b0f8] Pluto v0.19.42
⌃ [295af30f] Revise v3.5.14
⌃ [90137ffa] StaticArrays v1.9.4
[2913bbd2] StatsBase v0.34.3
[bd369af6] Tables v1.12.0
Info Packages marked with ⌃ have new versions available and may be upgradable. |
Please update your packages with |
After updating, it worked! It's strange it installed an older version. Thank you for the help! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I installed MiniZinc.jl following the instructions on the README and I got an error while trying to run my script in WSL2 using Ubuntu. I reproduced my steps below.
1. Install package
(@v1.10) pkg> ] add MiniZinc
2. Create and Run Script
Then, I created the following script in a file called
matrix.jl
:3. Output
And I got the following output after running
julia matrix.jl
:When I run this script on Windows using
julia matrix.jl
in PowerShell after following the instructions in the README, it works just fine. Maybe I'm missing something obvious, but it says that thehighs
solver is not installed, even though it should have been when the MiniZinc package was installed. I have also installedHiGHS
in Julia along withJuMP
, so I don't think that's the problem. Any help would be appreciated.System information:
The text was updated successfully, but these errors were encountered: