From 95cfd9ab09f80e3ed4a6b73eed5654525c9a543b Mon Sep 17 00:00:00 2001 From: Joao-Dionisio Date: Wed, 16 Apr 2025 18:56:39 +0100 Subject: [PATCH 1/3] Some notes from Dominik --- INSTALL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 770fd2027..f372cf92d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -41,6 +41,8 @@ contains the corresponding header files: > nlpi > ... +Please note that some Mac configurations require adding the library installation path to `DYLD_LIBRARY_PATH` when using a locally installed version of SCIP. + If you install SCIP yourself and are not using the installer packages, you need to [install the SCIP Optimization Suite using CMake](https://www.scipopt.org/doc/html/md_INSTALL.php#CMAKE). The Makefile system is not compatible with PySCIPOpt! @@ -55,7 +57,7 @@ Installation from PyPI Please note that if your Python version and OS version are in the combinations at the start of this INSTALL file then pip now automatically installs a pre-built version of SCIP. For these combinations, to use your own installation of SCIP, -plese see the section on building from source. For unavailable combinations this pip command will automatically +please see the section on building from source. For unavailable combinations this pip command will automatically search your global installs or custom set paths as above. On Windows for combinations not listed at the start of this file, you may need to ensure that the `scip` library can be found From 3d3d40295d43b2953a1f11873ba0e1a6aee7cd34 Mon Sep 17 00:00:00 2001 From: Joao-Dionisio Date: Thu, 17 Apr 2025 10:56:23 +0100 Subject: [PATCH 2/3] Also add note to documentation --- docs/install.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/install.rst b/docs/install.rst index 56fd18ff9..fce6368b1 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -35,6 +35,8 @@ To install PySCIPOpt simply run the command: This means that SCIP must be installed yourself. If it is not installed globally, then the ``SCIPOPTDIR`` environment flag must be set, see :doc:`this page ` for more details. +.. note:: Some Mac configurations require adding the library installation path to `DYLD_LIBRARY_PATH` when + using a locally installed version of SCIP. Conda ===== From ead5320107a99cfa69cbb428a58b690f1e024b97 Mon Sep 17 00:00:00 2001 From: Joao-Dionisio Date: Sat, 19 Apr 2025 11:33:34 +0100 Subject: [PATCH 3/3] move things around --- INSTALL.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index f372cf92d..86316fb99 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,6 +18,10 @@ Suite](https://www.scipopt.org/). Please, make sure that your SCIP installation **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.** +If you install SCIP yourself and are not using the installer packages, you need to [install the +SCIP Optimization Suite using CMake](https://www.scipopt.org/doc/html/md_INSTALL.php#CMAKE). +The Makefile system is not compatible with PySCIPOpt! + 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, you need to specify the install location using the environment variable `SCIPOPTDIR`: @@ -43,9 +47,6 @@ contains the corresponding header files: Please note that some Mac configurations require adding the library installation path to `DYLD_LIBRARY_PATH` when using a locally installed version of SCIP. -If you install SCIP yourself and are not using the installer packages, you need to [install the -SCIP Optimization Suite using CMake](https://www.scipopt.org/doc/html/md_INSTALL.php#CMAKE). -The Makefile system is not compatible with PySCIPOpt! When building SCIP from source using Windows it is highly recommended to use the [Anaconda Python Platform](https://www.anaconda.com/).