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
[tracking with learning]: {{site.baseurl}}/documentation/tracking/tracking#sec_structured_learning
120
123
121
124
### GUROBI Installation and Setup
@@ -137,7 +140,7 @@ The following sections contain platform-specific instructions for GUROBI install
137
140
138
141
#### Installation on Windows {#gurobi-setup-windows}
139
142
140
-
Double click the `Gurobi-9.0.3-win64.msi` installer to go through the installation process.
143
+
Double click the `Gurobi-12.0.0-win64.msi` installer to go through the installation process.
141
144
Restart your computer to complete the installation.
142
145
Once the installation is complete, you need to activate the license.
143
146
You can review all your current licenses [here][gurobi-licenses].
@@ -161,11 +164,11 @@ With that you should be able to use the "Calculate Tracking Weights" functionali
161
164
In case of problems, please take a look at the [GUROBI installation documentation][gurobi-install-win].
162
165
163
166
Note: Due to a bug in ilastik `1.3.3` the solver library is not recognized.
164
-
If you absolutely have to use this version then a solution is to manually copy `C:\gurobi811\win64\bin\gurobi811.dll` to your ilastik installation folder, e.g. `C:\Program Files\ilastik-1.3.3post3\Library\bin`.
167
+
If you absolutely have to use this version then a solution is to manually copy `C:\gurobi811\win64\bin\gurobi1200.dll` to your ilastik installation folder, e.g. `C:\Program Files\ilastik-1.4.1\Library\bin`.
165
168
166
169
#### Installation on MacOSX and Linux {#gurobi-setup-linux-mac}
167
170
168
-
On MacOSX you can start the installation process by clicking on the downloaded file `gurobi9.5.1_macos_universal2.pkg`.
171
+
On MacOSX you can start the installation process by clicking on the downloaded file `gurobi12.0.0_macos_universal2.pkg`.
169
172
170
173
On linux you have to unpack the downloaded archive:
171
174
@@ -189,10 +192,10 @@ For the activation you'll have to open a terminal and follow this sequence of co
189
192
190
193
```bash
191
194
# Linux
192
-
cd /your/target/directory/gurobi951/linux64/bin
195
+
cd /your/target/directory/gurobi1200/linux64/bin
193
196
# OSX
194
197
# on OSX gurobi is installed to /Library/ per default.
IBM CPLEX is a commercial solver which is free for academic use.
254
-
Details on the application for an academic license, may be found on
255
-
[the IBM Academic Initiative website](https://developer.ibm.com/academic/).
256
-
Please note that it might take some days until the application gets approved by IBM.
257
-
258
-
#### Download IBM CPLEX
259
-
260
-
Once the license has been approved by IBM, instructions for download will be provided.
261
-
262
-
The current version of ilastik works with
263
-
**IBM ILOG CPLEX Optimization Studio V12.9**.
264
-
After choosing the appropriate platform, you have to agree with the IBM license.
265
-
Finally, CPLEX may be downloaded and is ready to install.
266
-
267
-
**Important note: It is not sufficient to download the Trial version of CPLEX since its solver can only handle
268
-
very small problem sizes. Please make sure, the correct version is downloaded as described here.**
269
-
270
-
The following sections contain platform-specific instructions for CPLEX installation on [Windows](#cplex-setup-windows) as well as on [Linux and Mac](#cplex-setup-linux-mac).
271
-
272
-
#### Setup on Windows {#cplex-setup-windows}
273
-
274
-
Run the installer by double clicking the executable that you've downloaded.
275
-
276
-
On Windows, there are typically no further modifications needed after installing CPLEX.
277
-
After a successful installation, learning the weights in the *Tracking with Learning Workflow* will be enabled.
278
-
If it isn't, something went wrong with the CPLEX installation.
279
-
To track down the problem, proceed like this:
280
-
281
-
* Make sure that the environment variable `CPLEX_STUDIO_DIR129` is set and points to the proper location.
282
-
You can check this by typing `echo %CPLEX_STUDIO_DIR129%` at the DOS command prompt.
283
-
The output should be something like `C:\Program Files\IBM\ILOG\CPLEX_Studio129`.
284
-
* Make sure that `cplex` is in the PATH.
285
-
Type `where cplex` at a DOS prompt.
286
-
It should produce something like `C:\Program Files\ibm\ILOG\CPLEX_Studio129\cplex\bin\x64_win64\cplex.exe` (the path prefix should match the contents of the `CPLEX_STUDIO_DIR129` variable).
287
-
* Make sure that the directory containing `cplex.exe` also contains `cplex129.dll`, `ILOG.CPLEX.dll`, and `ILOG.Concert.dll`.
288
-
289
-
Learning the weights in the *Tracking with Learning Workflow* should now be enabled.
290
-
If it isn't, you may copy the files `cplex129.dll`, `ILOG.CPLEX.dll`, and `ILOG.Concert.dll` (if you can locate them somewhere) to the *binary* folder of the ilastik installation, usually located at `C:\Program Files\ilastik\bin`.
291
-
If it still doesn't work, please [contact us]({{site.baseurl}}/community.html).
292
-
293
-
294
-
#### Setup on Linux and Mac {#cplex-setup-linux-mac}
295
-
296
-
On Linux and Mac, the CPLEX installer comes as a commandline executable (`cplex-someversion.sh` on Linux and `cplex-someversion.bin` on Mac).
297
-
To install it, open a terminal and run `bash /path/to/your/cplex-someversion.sh` (or `bash /path/to/your/cplex-someversion.bin` on Mac).
298
-
299
-
**Hint:** on Mac and most Linux distributions you can drag and drop the installer file into the terminal to get the full path appended to your command line.
300
-
301
-
CPLEX packages for Linux and Mac do not provide shared versions of all required libraries, but only static variants.
302
-
In order to enable CPLEX with ilastik, the static libraries have to be converted.
303
-
Before you can convert your static CPLEX libraries into shared library versions, you need to have a compiler installed on your machine.
304
-
You can check whether you already have a compiler installed by running the following command in a terminal (open the Terminal app!).
305
-
306
-
gcc --version
307
-
308
-
If no compiler is installed, choose what to do depending on your OS version:
309
-
310
-
- For Linux, use your OS package manager (e.g. `apt-get`) to install the `gcc` package.
311
-
- For all OSX < 10.9, so up to Mountain Lion, you need to install XCode from the AppStore.
312
-
Then you need to go to XCode's Preferences, to the Downloads tab, and install the command line tools.
313
-
- For OSX 10.9 Mavericks it suffices to install the command line tools using the following command without installing XCode.
314
-
315
-
xcode-select --install
316
-
317
-
Then you need to accept the XCode licence by running "sudo gcc" once.
318
-
319
-
Now you can run a script, that will convert your CPLEX static libraries into shared libraries, and install them into the appropriate directory of your ilastik directory.
320
-
Starting with ilastik-1.1.7, this script can be found in ilastik-1.\*.\*/ilastik-meta/ilastik/scripts.
321
-
Prior to that version the [script](https://github.com/ilastik/ilastik/blob/master/scripts/install-cplex-shared-libs.sh) needs to be downloaded manually in the terminal:
In the command above, `/path/to/your/cplex-root-dir` is the location of your cplex studio installation. It should contain directories named `concert` and `cplex`, among others.
335
-
336
-
**Note:** The above script installs CPLEX directly into your ilastik installation.
337
-
Once you've done that, you should not distribute your copy of ilastik to others, unless you have a license to distribute CPLEX.
338
-
339
-
After a successful installation, learning the weights in the *Tracking with Learning Workflow* will be enabled.
IBM CPLEX is a commercial solver which is free for academic use.
18
+
Details on the application for an academic license, may be found on
19
+
[the IBM Academic Initiative website](https://developer.ibm.com/academic/).
20
+
Please note that it might take some days until the application gets approved by IBM.
21
+
22
+
#### Download IBM CPLEX
23
+
24
+
Once the license has been approved by IBM, instructions for download will be provided.
25
+
26
+
The current version of ilastik works with
27
+
**IBM ILOG CPLEX Optimization Studio V12.9**.
28
+
After choosing the appropriate platform, you have to agree with the IBM license.
29
+
Finally, CPLEX may be downloaded and is ready to install.
30
+
31
+
**Important note: It is not sufficient to download the Trial version of CPLEX since its solver can only handle
32
+
very small problem sizes. Please make sure, the correct version is downloaded as described here.**
33
+
34
+
The following sections contain platform-specific instructions for CPLEX installation on [Windows](#cplex-setup-windows) as well as on [Linux and Mac](#cplex-setup-linux-mac).
35
+
36
+
#### Setup on Windows {#cplex-setup-windows}
37
+
38
+
Run the installer by double clicking the executable that you've downloaded.
39
+
40
+
On Windows, there are typically no further modifications needed after installing CPLEX.
41
+
After a successful installation, learning the weights in the *Tracking with Learning Workflow* will be enabled.
42
+
If it isn't, something went wrong with the CPLEX installation.
43
+
To track down the problem, proceed like this:
44
+
45
+
* Make sure that the environment variable `CPLEX_STUDIO_DIR129` is set and points to the proper location.
46
+
You can check this by typing `echo %CPLEX_STUDIO_DIR129%` at the DOS command prompt.
47
+
The output should be something like `C:\Program Files\IBM\ILOG\CPLEX_Studio129`.
48
+
* Make sure that `cplex` is in the PATH.
49
+
Type `where cplex` at a DOS prompt.
50
+
It should produce something like `C:\Program Files\ibm\ILOG\CPLEX_Studio129\cplex\bin\x64_win64\cplex.exe` (the path prefix should match the contents of the `CPLEX_STUDIO_DIR129` variable).
51
+
* Make sure that the directory containing `cplex.exe` also contains `cplex129.dll`, `ILOG.CPLEX.dll`, and `ILOG.Concert.dll`.
52
+
53
+
Learning the weights in the *Tracking with Learning Workflow* should now be enabled.
54
+
If it isn't, you may copy the files `cplex129.dll`, `ILOG.CPLEX.dll`, and `ILOG.Concert.dll` (if you can locate them somewhere) to the *binary* folder of the ilastik installation, usually located at `C:\Program Files\ilastik\bin`.
55
+
If it still doesn't work, please [contact us]({{site.baseurl}}/community.html).
56
+
57
+
58
+
#### Setup on Linux and Mac {#cplex-setup-linux-mac}
59
+
60
+
On Linux and Mac, the CPLEX installer comes as a commandline executable (`cplex-someversion.sh` on Linux and `cplex-someversion.bin` on Mac).
61
+
To install it, open a terminal and run `bash /path/to/your/cplex-someversion.sh` (or `bash /path/to/your/cplex-someversion.bin` on Mac).
62
+
63
+
**Hint:** on Mac and most Linux distributions you can drag and drop the installer file into the terminal to get the full path appended to your command line.
64
+
65
+
CPLEX packages for Linux and Mac do not provide shared versions of all required libraries, but only static variants.
66
+
In order to enable CPLEX with ilastik, the static libraries have to be converted.
67
+
Before you can convert your static CPLEX libraries into shared library versions, you need to have a compiler installed on your machine.
68
+
You can check whether you already have a compiler installed by running the following command in a terminal (open the Terminal app!).
69
+
70
+
gcc --version
71
+
72
+
If no compiler is installed, choose what to do depending on your OS version:
73
+
74
+
- For Linux, use your OS package manager (e.g. `apt-get`) to install the `gcc` package.
75
+
- For all OSX < 10.9, so up to Mountain Lion, you need to install XCode from the AppStore.
76
+
Then you need to go to XCode's Preferences, to the Downloads tab, and install the command line tools.
77
+
- For OSX 10.9 Mavericks it suffices to install the command line tools using the following command without installing XCode.
78
+
79
+
xcode-select --install
80
+
81
+
Then you need to accept the XCode licence by running "sudo gcc" once.
82
+
83
+
Now you can run a script, that will convert your CPLEX static libraries into shared libraries, and install them into the appropriate directory of your ilastik directory.
84
+
Starting with ilastik-1.1.7, this script can be found in ilastik-1.\*.\*/ilastik-meta/ilastik/scripts.
85
+
Prior to that version the [script](https://github.com/ilastik/ilastik/blob/master/scripts/install-cplex-shared-libs.sh) needs to be downloaded manually in the terminal:
In the command above, `/path/to/your/cplex-root-dir` is the location of your cplex studio installation. It should contain directories named `concert` and `cplex`, among others.
99
+
100
+
**Note:** The above script installs CPLEX directly into your ilastik installation.
101
+
Once you've done that, you should not distribute your copy of ilastik to others, unless you have a license to distribute CPLEX.
102
+
103
+
After a successful installation, learning the weights in the *Tracking with Learning Workflow* will be enabled.
0 commit comments