help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Threaded GLPK


From: glpk xypron
Subject: Re: [Help-glpk] Threaded GLPK
Date: Fri, 11 Nov 2011 22:43:45 +0100

Hello Parsiad,

the GLPK library is not thread safe.

See
http://lists.gnu.org/archive/html/help-glpk/2010-04/msg00033.html

Best regards

Xypron
-------- Original-Nachricht --------
> Datum: Fri, 11 Nov 2011 00:39:22 -0500
> Betreff: [Help-glpk] Threaded GLPK

> I am looking to implement a threaded version of GLPK in which each
> thread is just another instance of GLPK solving LP, but perhaps using
> different pivoting strategies or a different initial pivot. I do not
> want each thread to incur the cost of parsing or presolving the
> problem.
> 
> To do this, I wanted to essentially duplicate the contents at memory
> glp_prob *lp that is passed to glp_simplex. However, a simple cloning
> would not work as it seems like variables in glp_prob (i.e. void *cps,
> void *tree, DMP *pool) point to particular places in memory. I was
> essentially wondering if anyone could think of a painless way to do
> this.
> 
> Thank you in advance.
> 
> -- 
> Parsiad Azimzadeh
> http://cs.uwaterloo.ca/~pazimzad
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk

-- 
Follow me at http://twitter.com/#!/xypron

NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone



reply via email to

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