|
From: | Reginald Beardsley |
Subject: | Re: [Help-glpk] Optimization and Multicore GLPK |
Date: | Thu, 27 Dec 2012 17:03:57 -0800 (PST) |
You can run multiple instances of glpsol or a custom program that calls GLPK as things are now. The operating system guarantees that they don't interfere with each other. There is no benefit to using threads to solve multiple problems unless they are very closely related. In that case there are better options already. There are compelling reasons for using threads to improve performance of single problem solutions. In the case of simplex, this is pretty much limited to matrix arithmetic. For MIP problems there is evidence that task level parallelism (e.g branch and bound) can be successfully implemented to produce a useful performance boost. Parallel programming is difficult. Concurrent shared memory programming is harder. People get tenure for solving major problems. As a practical matter I try to avoid attempting to solve problems for which you can be granted tenure. I typically need to get something done by a deadline. I watched everyone struggle to get symmetric multiprocessing (SMP) to work reliably. You've not endured pain until your multimillion dollar computer kernel panics on a daily basis for months on end. Have Fun! Reg --- On Thu, 12/27/12, Patrik Dufresne <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |