Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with GLPK 4.8 JNI  RSS feed

 
chintan shah
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i've been using the glpk jni 4.8 for solving my linear programming problems.
the main interface used to solve LP is the GLPKSolver interface.

when the gc tries to reclaim the memory from the GLPKSolver object....an exception occurs saying
" ufree: ptr ..... memory allocation error"

this prevents me from solving large number of problems continuously.
the occurance time of the error is uneven as it occurs when the gc runs.

i am using windows xp, java 1.6, glpk_jni 4.8.
please help... ops:
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt that anybody here has ever heard of this package; I googled it to find out it's a third-party JNI wrapper for a GNU linear programming library (a GPL version of LAPACK, I guess?) So it's an obscure wrapper for an obscure library. Hmmm.

I would imagine it's a bug in glpk_jni; you'll have better far luck reporting it to the author of the wrapper, or debugging it yourself if you have any C programming knowledge.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!