[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Thread safety of GLPK
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Thread safety of GLPK |
Date: |
Wed, 14 Apr 2010 20:17:21 +0400 |
> Just to confirm my understanding, are you saying if I make the
> changes you describe below, that as long as each call to the solver
> referencing the GLPK data structure instances for a single LP problem
> are made from the one thread, i.e. sequentially, I'm fine?
Yes. Please see an implementation example:
http://lists.gnu.org/archive/html/help-glpk/2009-12/msg00008.html
(note that the routine names were changed in v4.43; you need to
change the glpenv02.c module).
> I only run into thread safety issues if I were to create multiple
> threads to make GLPK calls on the same LP problem.
> In summary, one thread per LP problem is fine? As this is what I
> want, I only need to be able to run X threads solving X LP problems,
> one each concurrently to be at the MT level I require.
> I do not require MT safe access to a single LP problem.
RE: [Help-glpk] Thread safety of GLPK, Hammond, Paul, 2010/04/14
Re: [Help-glpk] Thread safety of GLPK, Andrew Makhorin, 2010/04/15
Re: [Help-glpk] Thread safety of GLPK, Sylvain Fournier, 2010/04/15
Re: [Help-glpk] Thread safety of GLPK, Louis Wasserman, 2010/04/22
Re: [Help-glpk] Thread safety of GLPK, Louis Wasserman, 2010/04/22