【问题标题】:SCIP cannot read my inputSCIP 无法读取我的输入
【发布时间】:2013-02-28 17:43:12
【问题描述】:

我正在尝试使用 SCIP 求解器 (http://scip.zib.de/)。我的输入 (1.lp) 是 lpsolve 格式。它看起来像这样:

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 格式输入后,一切正常。

【问题讨论】:

    标签: scip


    【解决方案1】:

    答案是 SCIP 显然无法读取 lpsolve 输入文件。他们在overview of readable file formats 中所指的 LP 格式实际上是 CPLEX LP 格式。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-29
      • 1970-01-01
      • 2022-01-11
      • 1970-01-01
      • 2020-09-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多