我想使用SCIP與Ipopt和AMPL接口來處理.nl-files.
scip外殼(不含AMPL)包含Ipopt,但無法讀取.nl-files
。所以我編譯了AMPL接口。但是在這裏,Ipopt似乎沒有被包括在內。命令"scip-3.2.0/interfaces/ampl/bin/scipampl -i"
給出以下輸出。SCIP與IpOpt和AMPL
SCIP version 3.2.0 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 2.2.0] [GitHash: fb0007a]
Copyright (c) 2002-2015 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
External codes:
Readline 6.2 GNU library for command line editing (gnu.org/s/readline)
SoPlex 2.2.0 Linear Programming Solver developed at Zuse Institute Berlin (soplex.zib.de) [GitHash: c9658ca]
cppad-20140000.3 Algorithmic Differentiation of C++ algorithms developed by B. Bell (www.coin-or.org/CppAD)
ZLIB 1.2.7 General purpose compression library by J. Gailly and M. Adler (zlib.net)
GMP 6.0.0 GNU Multiple Precision Arithmetic Library developed by T. Granlund (gmplib.org)
ZIMPL 3.3.3 Zuse Institute Mathematical Programming Language developed by T. Koch (zimpl.zib.de)
ASL AMPL Solver Library developed by D. Gay (www.netlib.com/ampl)
number of parameters = 1882 non-default parameter settings:
file <-i.nl> not found
no problem exists
[src/reader_nl.c:1694] ERROR: No AMPL problem read, cannot write AMPL solution then.*
在外部代碼Ipopt未列出。我嘗試了幾種重新安裝的變體,但都沒有奏效。你會知道解決辦法嗎?請注意,我無法將scipampl複製到我的路徑,因爲我不必正確使用sudo。操作系統是CentOS。從法蘭克福
問候,
約翰內斯
感謝您的回答。我再次嘗試沒有成功。準確地說,我使用了以下命令。 _CD/scipdir /接口/幅值/ solvers_ _sh configurehere - 「IPOPT =真」 _ _make - 「IPOPT =真」 _ _CD .._ _make - 「IPOPT =真」 _ 的從scipampl輸出二進制保持不變。 – Johannes
它應該只是 使IPOPT = true 沒有前面的短劃線。只有在scipdir/interfaces/ampl /中才能做到這一點。 – stefan