ScipOptSuite-7.0.2 中的 GCG:Linux 自解压存档安装让我可以启动 SCIP,但不能启动 GCG
GCG in ScipOptSuite-7.0.2: Linux self-extracting archive installation lets me start SCIP, but not GCG
我使用自解压存档安装了最新的 ScipOptSuite (7.0.2)(是的,在安装所需的软件包 gcc g++ gfortran liblapack3 libtbb2 libcliquer1 libopenblas-dev libgsl23 后,按照 SCIP 下载站点的要求),如果我导航到新创建的目录(即 /home/stefan/SCIPOptSuite-7.0.2
),我可以通过 ./bin/SCIP
:
启动 SCIP
SCIP version 7.0.2 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 5.0.2] [GitHash: e9d280a398]
Copyright (C) 2002-2020 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
External codes:
SoPlex 5.0.2 Linear Programming Solver developed at Zuse Institute Berlin (soplex.zib.de) [GitHash: e24c304e]
CppAD 20180000.0 Algorithmic Differentiation of C++ algorithms developed by B. Bell (www.coin-or.org/CppAD)
ZLIB 1.2.11 General purpose compression library by J. Gailly and M. Adler (zlib.net)
GMP 6.2.1 GNU Multiple Precision Arithmetic Library developed by T. Granlund (gmplib.org)
ZIMPL 3.4.0 Zuse Institute Mathematical Programming Language developed by T. Koch (zimpl.zib.de)
PaPILO 1.0.2 parallel presolve for integer and linear optimization (https://github.com/lgottwald/PaPILO) [GitHash: 62d2842]
bliss 0.73p Computing Graph Automorphism Groups by T. Junttila and P. Kaski (http://www.tcs.hut.fi/Software/bliss/)
Ipopt 3.13.2 Interior Point Optimizer developed by A. Waechter et.al. (www.coin-or.org/Ipopt)
user parameter file <scip.set> not found - using default parameters
SCIP> quit
但是,当我尝试通过 ./bin/GCG
启动 GCG 时,出现以下错误:
./bin/gcg: error while loading shared libraries: libscip.so.7.0: cannot open shared object file: No such file or directory
如果我导航到 lib 目录来检查它的内容,我得到的是:
Stefan@stefan-VirtualBox:~/SCIPOptSuite-7.0.2-Linux/lib$ ls
cmake libclusol.a libgcg.so libgcg.so.3.0 libgcg.so.3.0.4.0 libscip.so libscip.so.7.0 libscip.so.7.0.2.0 libsoplex.a libsoplex-pic.a libzimpl.a libzimpl-pic.a
stefan@stefan-VirtualBox:~/SCIPOptSuite-7.0.2-Linux/lib$ ls -la
insgesamt 20332
drwxr-xr-x 3 stefan stefan 4096 Dez 19 01:01 .
drwxrwxr-x 5 stefan stefan 4096 Feb 16 14:43 ..
drwxr-xr-x 7 stefan stefan 4096 Dez 19 01:01 cmake
-rw-r--r-- 1 stefan stefan 197786 Dez 19 00:55 libclusol.a
lrwxrwxrwx 1 stefan stefan 13 Dez 19 01:01 libgcg.so -> libgcg.so.3.0
lrwxrwxrwx 1 stefan stefan 17 Dez 19 01:01 libgcg.so.3.0 -> libgcg.so.3.0.4.0
-rw-r--r-- 1 stefan stefan 2279000 Dez 19 01:00 libgcg.so.3.0.4.0
lrwxrwxrwx 1 stefan stefan 14 Dez 19 01:01 libscip.so -> libscip.so.7.0
lrwxrwxrwx 1 stefan stefan 18 Dez 19 01:01 libscip.so.7.0 -> libscip.so.7.0.2.0
-rw-r--r-- 1 stefan stefan 14708920 Dez 19 00:59 libscip.so.7.0.2.0
-rw-r--r-- 1 stefan stefan 1115142 Dez 19 00:56 libsoplex.a
-rw-r--r-- 1 stefan stefan 1126422 Dez 19 00:55 libsoplex-pic.a
-rw-r--r-- 1 stefan stefan 681454 Dez 19 00:55 libzimpl.a
-rw-r--r-- 1 stefan stefan 679454 Dez 19 00:55 libzimpl-pic.a
我认为应该可以通过自解压存档从安装中启动 GCG,但我无法让它工作。在我看来,确实存在对文件 libscip.so.7.0.2.0
的引用,但它似乎不起作用。我的错误在哪里?感谢您的帮助!
我遇到了同样的问题,这为我解决了(虽然我的安装版本是 v7.0.3)。
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/SCIPOptSuite-7.0.3-Linux/lib
请注意,这仅适用于该行在 运行 中的终端实例(因此一旦它关闭,您必须在另一个终端实例中再次 运行 该行以重新应用此更改)。
如果需要,请参阅此 link 以了解如何永久设置它:https://askubuntu.com/questions/58814/how-do-i-add-environment-variables
我使用自解压存档安装了最新的 ScipOptSuite (7.0.2)(是的,在安装所需的软件包 gcc g++ gfortran liblapack3 libtbb2 libcliquer1 libopenblas-dev libgsl23 后,按照 SCIP 下载站点的要求),如果我导航到新创建的目录(即 /home/stefan/SCIPOptSuite-7.0.2
),我可以通过 ./bin/SCIP
:
SCIP version 7.0.2 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 5.0.2] [GitHash: e9d280a398]
Copyright (C) 2002-2020 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
External codes:
SoPlex 5.0.2 Linear Programming Solver developed at Zuse Institute Berlin (soplex.zib.de) [GitHash: e24c304e]
CppAD 20180000.0 Algorithmic Differentiation of C++ algorithms developed by B. Bell (www.coin-or.org/CppAD)
ZLIB 1.2.11 General purpose compression library by J. Gailly and M. Adler (zlib.net)
GMP 6.2.1 GNU Multiple Precision Arithmetic Library developed by T. Granlund (gmplib.org)
ZIMPL 3.4.0 Zuse Institute Mathematical Programming Language developed by T. Koch (zimpl.zib.de)
PaPILO 1.0.2 parallel presolve for integer and linear optimization (https://github.com/lgottwald/PaPILO) [GitHash: 62d2842]
bliss 0.73p Computing Graph Automorphism Groups by T. Junttila and P. Kaski (http://www.tcs.hut.fi/Software/bliss/)
Ipopt 3.13.2 Interior Point Optimizer developed by A. Waechter et.al. (www.coin-or.org/Ipopt)
user parameter file <scip.set> not found - using default parameters
SCIP> quit
但是,当我尝试通过 ./bin/GCG
启动 GCG 时,出现以下错误:
./bin/gcg: error while loading shared libraries: libscip.so.7.0: cannot open shared object file: No such file or directory
如果我导航到 lib 目录来检查它的内容,我得到的是:
Stefan@stefan-VirtualBox:~/SCIPOptSuite-7.0.2-Linux/lib$ ls
cmake libclusol.a libgcg.so libgcg.so.3.0 libgcg.so.3.0.4.0 libscip.so libscip.so.7.0 libscip.so.7.0.2.0 libsoplex.a libsoplex-pic.a libzimpl.a libzimpl-pic.a
stefan@stefan-VirtualBox:~/SCIPOptSuite-7.0.2-Linux/lib$ ls -la
insgesamt 20332
drwxr-xr-x 3 stefan stefan 4096 Dez 19 01:01 .
drwxrwxr-x 5 stefan stefan 4096 Feb 16 14:43 ..
drwxr-xr-x 7 stefan stefan 4096 Dez 19 01:01 cmake
-rw-r--r-- 1 stefan stefan 197786 Dez 19 00:55 libclusol.a
lrwxrwxrwx 1 stefan stefan 13 Dez 19 01:01 libgcg.so -> libgcg.so.3.0
lrwxrwxrwx 1 stefan stefan 17 Dez 19 01:01 libgcg.so.3.0 -> libgcg.so.3.0.4.0
-rw-r--r-- 1 stefan stefan 2279000 Dez 19 01:00 libgcg.so.3.0.4.0
lrwxrwxrwx 1 stefan stefan 14 Dez 19 01:01 libscip.so -> libscip.so.7.0
lrwxrwxrwx 1 stefan stefan 18 Dez 19 01:01 libscip.so.7.0 -> libscip.so.7.0.2.0
-rw-r--r-- 1 stefan stefan 14708920 Dez 19 00:59 libscip.so.7.0.2.0
-rw-r--r-- 1 stefan stefan 1115142 Dez 19 00:56 libsoplex.a
-rw-r--r-- 1 stefan stefan 1126422 Dez 19 00:55 libsoplex-pic.a
-rw-r--r-- 1 stefan stefan 681454 Dez 19 00:55 libzimpl.a
-rw-r--r-- 1 stefan stefan 679454 Dez 19 00:55 libzimpl-pic.a
我认为应该可以通过自解压存档从安装中启动 GCG,但我无法让它工作。在我看来,确实存在对文件 libscip.so.7.0.2.0
的引用,但它似乎不起作用。我的错误在哪里?感谢您的帮助!
我遇到了同样的问题,这为我解决了(虽然我的安装版本是 v7.0.3)。
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/SCIPOptSuite-7.0.3-Linux/lib
请注意,这仅适用于该行在 运行 中的终端实例(因此一旦它关闭,您必须在另一个终端实例中再次 运行 该行以重新应用此更改)。
如果需要,请参阅此 link 以了解如何永久设置它:https://askubuntu.com/questions/58814/how-do-i-add-environment-variables