SCIP JNI - JNIKnapsack示例未能运行

时间:2016-06-22 09:47:32

标签: scip

我尝试使用SCIP优化套件使用SCIP JNI,并使用Ubuntu 16.04从源代码编译它。 我使用网站提供的说明编译了jni接口文件夹,但JniKnapsack示例似乎存在问题。使用Makefile和文件夹中的run.sh运行它时:

make run

输出结果为:

SCIP version 3.2.1 [precision: 8 byte] [memory: block] [mode: optimized] [LP solver: SoPlex 2.2.1] [GitHash: c7c6c02]
Copyright (c) 2002-2016 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
created variables <x0>
variables pointer <1958512920>
created variables <x1>
variables pointer <1958513276>
created variables <x2>
variables pointer <1958517056>
created variables <x3>
variables pointer <1958517412>
created variables <x4>
variables pointer <1958517768>
created variables <x5>
variables pointer <1958518124>
created variables <x6>
variables pointer <1958521568>
created variables <x7>
variables pointer <1958521924>
created variables <x8>
variables pointer <1958522280>
created variables <x9>
variables pointer <1958522636>
*** 10.0
*** 11.0
*** 12.0
*** 13.0
*** 14.0
*** 15.0
*** 16.0
*** 17.0
*** 18.0
*** 19.0
*** 11
*** Value found: -1.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x74823c65, pid=18485, tid=3057216320
#
# JRE version: OpenJDK Runtime Environment (8.0_91-b14) (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
# Java VM: OpenJDK Server VM (25.91-b14 mixed mode linux-x86 )
# Problematic frame:
# C  [libscip.linux.x86.gnu.opt.so+0x44bc65]  SCIPsolGetVal+0x35
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/david/workspace/scipoptsuite-3.2.1/scip-3.2.1/interfaces/jni/examples/JniKnapsack/hs_err_pid18485.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

0 个答案:

没有答案