[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] xmalloc, thread-safety

From: Oscar Gustafsson
Subject: Re: [Help-glpk] xmalloc, thread-safety
Date: Thu, 30 Aug 2007 10:25:41 +0200 (MEST)

On Thu, 30 Aug 2007, Andrew Makhorin wrote:
To make glpk thread-safe you need to provide two platform-specific
routines lib_set_ptr and lib_get_ptr (see src/glplib03.c). By default
these routines store a pointer in the static memory, and currently
only a version for the windows dll is implemented.
How hard is it to make a parallel version of GLPK at the moment? It seems like the new functionality in 4.20 and 4.21 may be directed towards that? Are there any plans to provide a parallel GLPK?

(Naturally, it is hard to make an efficient one, but let's say a parallel MILP solver which uses different branching rules in different threads.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]