Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b54bf6

Browse files
authored
Update schedule_one_machine.md
It should be non-descending as the optimal schedule. Consider the example of two tasks, one very long and another one very short, the penalty incurred will be larger if the short one starts after the long one.
1 parent 77dd05b commit 5b54bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schedules/schedule_one_machine.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $$\begin{align}
2727
\end{align}$$
2828

2929
It is easy to see, that if the schedule $\pi$ is optimal, than any change in it leads to an increased penalty (or to the identical penalty), therefore for the optimal schedule we can write down the following condition:
30-
$$c \cdot t_{\pi_{i+1}} - c_{\pi_{i+1}} \cdot t_{\pi_i} \ge 0 \quad \forall i = 1 \dots n-1$$
30+
$$c_{\pi_{i}} \cdot t_{\pi_{i+1}} - c_{\pi_{i+1}} \cdot t_{\pi_i} \ge 0 \quad \forall i = 1 \dots n-1$$
3131
And after rearranging we get:
3232
$$\frac{c_{\pi_i}}{t_{\pi_i}} \ge \frac{c_{\pi_{i+1}}}{t_{\pi_{i+1}}} \quad \forall i = 1 \dots n-1$$
3333

@@ -49,7 +49,7 @@ $$v_i = \frac{1 - e^{\alpha \cdot t_i}}{c_i}$$
4949

5050
In this case we consider the case that all $f_i(t)$ are equal, and this function is monotone increasing.
5151

52-
It is obvious that in this case the optimal permutation is to arrange the jobs by non-ascending processing time $t_i$.
52+
It is obvious that in this case the optimal permutation is to arrange the jobs by non-descending processing time $t_i$.
5353

5454
## The Livshits-Kladov theorem
5555

0 commit comments

Comments
 (0)