## Abstract

We present two deterministic online algorithms for the problem of scheduling with a general machine cost function. In this problem, every machine has a cost that is given by a nonnegative cost function, and the objective function is the sum of makespan and the cost of the purchased machines. In previous work by Imreh, it was shown that no deterministic algorithm has competitive ratio below 2, and an algorithm whose competitive ratio does not exceed (3+5)/2≈2.618 was presented. Our first algorithm imitates an optimal offline solution with respect to the number of machines used, and we show that its competitive ratio is exactly 2.5. Then, we modify our algorithm by imitating a preemptive optimal offline solution instead of a non-preemptive one. This leads to the design of a 2-competitive algorithm, which is the best possible.

Original language | English |
---|---|

Pages (from-to) | 155-162 |

Number of pages | 8 |

Journal | Journal of Scheduling |

Volume | 23 |

Issue number | 2 |

DOIs | |

State | Published - 1 Apr 2020 |

### Bibliographical note

Publisher Copyright:© 2019, Springer Science+Business Media, LLC, part of Springer Nature.

## Keywords

- Competitive ratio
- Machine cost
- Online scheduling
- Preemptive scheduling

## ASJC Scopus subject areas

- Software
- Engineering (all)
- Management Science and Operations Research
- Artificial Intelligence