Originally posted by: JorisK
Dear,
I'm currently implementing a Branch-and-Cut using cplex. For the cut procedure, I'm using IloCplex.LazyConstraintCallback. While implementing, I mistakenly wrote the following in the implementation of the main() function of my LazyConstraintCallback:
IloConstraint subtourConstr=this.add(cplex.addGe(subtourExpr, 0, "subTour"));
What I should have written:
IloConstraint subtourConstr=this.add(cplex.ge(subtourExpr, 0, "subTour"));
Nevertheless, when I run the first line, a pretty hard crash follows:
#
-
A fatal error has been detected by the Java Runtime Environment:
#
-
SIGSEGV (0xb) at pc=0x00007f7995cc4e86, pid=5436, tid=140160405821184
#
-
JRE version: 6.0_24-b24
-
Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
-
Derivative: IcedTea6 1.11.5
-
Distribution: Ubuntu 11.10, package 6b24-1.11.5-0ubuntu1~11.10.1
-
Problematic frame:
-
C http://libcplex124.so+0x463e86 CPXcutcallbackadd+0xc6
#
-
An error report file with more information is saved as:
-
/home/jkinable/workspace/RingStar/hs_err_pid5436.log
#
-
If you would like to submit a bug report, please include
-
instructions how to reproduce the bug and visit:
-
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
-
The crash happened outside the Java Virtual Machine in native code.
-
See problematic frame for where to report the bug.
#
Whenever possible, I would suggest to catch this error in a bit more elegant fashion, instead of crashing the Java Runtime environment.
Ps. I could not find a channel where I could file bugs related to cplex, hence my post on the forum.
#CPLEXOptimizers#DecisionOptimization