Consider n jobs \(J_1, J_2 \dots J_n\) such that job \(J_i\) has execution time \(t_i\) and a non-negative integer weight \(w_i\). The weighted mean completion time of the jobs is defined to be \(\frac{\sum_{i=1}^{n}w_iT_i}{\sum_{i=1}^{n}w_i}\), where \(T_i\) is the completion time of job \(J_i\). Assuming that there is only one processor available, in what order must the jobs be executed in order to minimize the weighted mean completion time of the jobs?
- ANon-decreasing order of \(t_i\)
- BNon-increasing order of \(w_i\)
- CNon-increasing order of \(w_it_i\)
- DNon-increasing order of \(w_i/t_i\)