2
我正在嘗試使用SCIP求解器(http://scip.zib.de/)。我的輸入(1.lp
)採用lpsolve
格式。它看起來像這樣:SCIP無法讀取我的輸入
max: +2 x_0_0;
+x_0_0 <= 1;
+x_0_0 <= 1;
-3x_0_0 <= 0;
0 <= x_0_0 <= 1;
int x_0_0;
我跑SCIP是這樣的:
"c:\Program Files\SCIP\scip.exe" -f 1.lp -l 1.lp.out
然而,SCIP生成的輸出:
SCIP version 3.0.0 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 1.7.0] [GitHash: c95600b]
Copyright (c) 2002-2012 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
External codes:
SoPlex 1.7.0 Linear Programming Solver developed at Zuse Institute Berlin (soplex.zib.de) [GitHash: 657dfe5]
cppad-20120101.3 Algorithmic Differentiation of C++ algorithms developed by B. Bell (www.coin-or.org/CppAD)
Ipopt 3.10.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
read problem <[...]1.lp>
============
input:
^
error reading file <[...]1.lp>
我想這意味着它是一個空白窒息。 .. 我究竟做錯了什麼?
編輯:
見我的答案的詳細信息。以CPLEX格式提供輸入後,一切正常。