fatal error, java api, version 6.51, ubuntu 1604

48 views
Skip to first unread message

Adrian Hasse

unread,
May 25, 2016, 11:28:54 AM5/25/16
to Gurobi Optimization
Hi,

after modifying my model several times, I always get a message that "A fatal error has been detected by the Java Runtime Environment". Enclosed are the last 3 error reports. The following is the last output of gurobi:

Optimize a model with 38 rows, 222 columns and 367 nonzeros
Coefficient statistics:
  Matrix range    [1e+00, 1e+00]
  Objective range [1e+00, 1e+00]
  Bounds range    [1e+00, 1e+00]
  RHS range       [1e+00, 1e+00]
Presolve removed 12 rows and 58 columns
Presolve time: 0.00s
Presolved: 26 rows, 164 columns, 312 nonzeros

MIP start did not produce a new incumbent solution

Variable types: 0 continuous, 164 integer (164 binary)

Root relaxation: objective 1.000000e+00, 25 iterations, 0.00 seconds

    Nodes    |    Current Node    |     Objective Bounds      |     Work
 Expl Unexpl |  Obj  Depth IntInf | Incumbent    BestBd   Gap | It/Node Time

     0     0    1.33333    0   13          -    1.33333      -     -    0s
     0     0    1.33333    0   13          -    1.33333      -     -    0s
     0     0    1.50000    0   10          -    1.50000      -     -    0s
     0     0    1.60000    0   13          -    1.60000      -     -    0s
     0     0    1.66667    0   14          -    1.66667      -     -    0s


Please help, I have no idea at the moment how to approach this error.

Adrian
hs_err_pid15991.log
hs_err_pid17131.log
hs_err_pid17719.log

Renan Garcia

unread,
May 25, 2016, 11:34:06 AM5/25/16
to gur...@googlegroups.com
I see your code is multithreaded. Please make sure only one thread ever works on any given Gurobi environment and the models created within that environment, as GRBEnv and GRBModel objects are not thread safe.

Also, can you try explicitly calling GRBEnv.dispose() and GRBModel.dispose() to see if that fixes the problem? Please see the mip1 example at http://www.gurobi.com/documentation/6.5/examples/mip1_java.html for how to do this.

--

---
You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<hs_err_pid15991.log><hs_err_pid17131.log><hs_err_pid17719.log>

Reply all
Reply to author
Forward
0 new messages