Re: non-official updated version of glpk (4.61 pre-release)
Andrew Makhorin <[email protected]>
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <1483992555.6473.8.camel@corvax> |
Please see an updated version of glpk here: http://sourceforge.net/projects/noumenon/files/tmp/ (Note that this is *not* an official release.) The following changes were made: 1. The option was added to build a stdcall DLL with MSVC10 (for MS Windows version). 2. The option was added to build a re-entrant version of the package. If the compiler supports the thread local storage-class attribute, this option is enabled by default on running the configure script. Thanks to David for suggestion and to Chris for a patch. A re-entrant version of the package allows running multiple *independent* instances of glpk in different threads of a multi-threaded application. If the application calls glpk routines from multiple threads, the following should be taken into account: 1) a thread should not access glpk program objects (e.g. glp_proc) created by other threads; 2) to prevent memory leaks each thread before termination should call the glpk api routine glp_free_env. Andrew Makhorin PS: I tested a re-entrant version of glpk under Debian GNU/Linux and under Cygwin. At least glpsol seems to work.