A
A
Alex Serov2015-12-22 11:01:52
Algorithms
Alex Serov, 2015-12-22 11:01:52

How to solve the problem of static balancing?

Suggest an algorithm for solving the following problem.
Given N tasks with their a priori estimates of labor intensity and M parallel computing nodes.
It is required to distribute tasks between nodes so that the total task execution time is minimal, that is, to perform static balancing.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SeptiM, 2015-12-22
@gibsonman01

In English, this task is called multiprocessor scheduling . The problem is NP-hard, so don't expect an exact algorithm. Wikipedia suggests a 4/3 approximation: sort all jobs in descending order of length, in the resulting order, assign work to the node that is released first.

R
Rsa97, 2015-12-22
@Rsa97

The exact solution can be obtained only by exhaustive enumeration, M N options. Approximate - by empirical algorithms, for example, greedy .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question