You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not provide access to the low-level Java API.
10
10
11
-
*Note: This wrapper is maintained by the community and is not officially
11
+
## Affiliation
12
+
13
+
This wrapper is maintained by the community and is not officially
12
14
supported by the JaCoP project. If you are interested in official support for
13
-
JaCoP in Julia, let them know!*
15
+
JaCoP in Julia, let them know!
16
+
17
+
## Installation
14
18
15
-
Unlike the other packages for constraint programming in Julia, JaCoP.jl
16
-
requires Julia 1.6 (due to the `Downloads.jl` standard package).
19
+
Install JaCoP as follows:
20
+
```julia
21
+
import Pkg
22
+
Pkg.add("JaCoP")
23
+
```
17
24
18
25
The JaCoP library is automatically downloaded when building this package in a
19
26
version that it supports. However, as JaCoP is a Java library, you will need
@@ -22,3 +29,17 @@ a working JVM on your machine that is compatible with
22
29
reduces to having access to a JVM in your `PATH` or `JAVA_HOME`
23
30
environment variables. (If you want to use your own JaCoP binary, you can
24
31
tweak the `deps/deps.jl` that is generated while building the package.)
32
+
33
+
> [!WARNING]
34
+
> JaCoP uses [JavaCall](https://github.com/JuliaInterop/JavaCall.jl) which requires
35
+
> launching Julia with [`JULIA_NUM_THREADS=1 JULIA_COPY_STACKS=1 julia`](https://github.com/JuliaInterop/JavaCall.jl?tab=readme-ov-file#macos-and-linux)
36
+
> on MaxOS and Linux. See [here](https://github.com/JuliaInterop/JavaCall.jl?tab=readme-ov-file#windows) for Windows.
0 commit comments