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
Copy file name to clipboardExpand all lines: INSTALL.md
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,24 @@
1
1
Requirements
2
2
============
3
3
4
+
From version 4.4.0 SCIP is automatically shipped when using PyPI for the following systems:
5
+
6
+
- CPython 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11 for Linux (manylinux2014)
7
+
- CPython 3.6 / 3.7 / 3.8 / 3.9 / 3.10 / 3.11 for MacOS for x86_64 (ARM i.e. Apple Silicon is currently unavailable)
8
+
- CPython 3.8 / 3.9 / 3.10 / 3.11 for Windows
9
+
10
+
This work is currently ongoing, and is planned to encompass all Python and OS combinations.
11
+
12
+
Please note that to use any of these Python / OS combinations without the default SCIP, one must build PySCIPOpt from source and
13
+
link against your own installation of SCIP. Such a scenario is common if the LP plugin should be Gurobi / Xpress / CPLEX instead of Soplex.
14
+
15
+
When installing from source or using PyPI with a python version and operating system combination that is not mentioned above,
4
16
PySCIPOpt requires a working installation of the [SCIP Optimization
5
17
Suite](https://www.scipopt.org/). Please, make sure that your SCIP installation works!
6
18
7
19
**Note that the latest PySCIPOpt version is usually only compatible with the latest major release of the SCIP Optimization Suite. See the table on the README.md page for details.**
8
20
9
-
If SCIP is not installed in the global path
21
+
If installing SCIP from source or using PyPI with a python and operating system that is not mentioned above, and SCIP is not installed in the global path,
10
22
you need to specify the install location using the environment variable
11
23
`SCIPOPTDIR`:
12
24
@@ -29,19 +41,24 @@ contains the corresponding header files:
29
41
> nlpi
30
42
> ...
31
43
32
-
If you are not using the installer packages, you need to [install the
44
+
If you install SCIP yourself and are not using the installer packages, you need to [install the
33
45
SCIP Optimization Suite using CMake](https://www.scipopt.org/doc/html/md_INSTALL.php#CMAKE).
34
46
The Makefile system is not compatible with PySCIPOpt!
35
47
36
-
On Windows it is highly recommended to use the [Anaconda Python
48
+
When building SCIP from source using Windows it is highly recommended to use the [Anaconda Python
37
49
Platform](https://www.anaconda.com/).
38
50
39
51
Installation from PyPI
40
52
======================
41
53
42
54
python -m pip install pyscipopt
43
55
44
-
On Windows you may need to ensure that the `scip` library can be found
56
+
Please note that if your Python version and OS version are in the combinations at the start of this INSTALL file then
57
+
pip now automatically installs a pre-built version of SCIP. For these combinations, to use your own installation of SCIP,
58
+
plese see the section on building from source. For unavailable combinations this pip command will automatically
59
+
search your global installs or custom set paths as above.
60
+
61
+
On Windows for combinations not listed at the start of this file, you may need to ensure that the `scip` library can be found
45
62
at runtime by adjusting your `PATH` environment variable:
0 commit comments