English

An almost linear time complexity algorithm for the Tool Loading Problem

Data Structures and Algorithms 2022-07-06 v1 Optimization and Control

Abstract

As shown by Tang, Denardo [9] the job Sequencing and tool Switching Problem (SSP) can be decomposed into the following two problems. Firstly, the Tool Loading Problem (TLP) - for a given sequence of jobs, find an optimal sequence of magazine states that minimizes the total number of tool switches. Secondly, the Job Sequencing Problem (JeSP) - find a sequence of jobs minimizing the total number of tool switches. Published in 1988, the well known Keep Tool Needed Soonest (KTNS) algorithm for solving the TLP has time complexity O(mn)O(mn). Here mm is the total number of tools necessary to complete all nn sequenced jobs on a single machine. A tool switch is needed since the tools required to complete all jobs cannot fit in the magazine, whose capacity C<mC < m. We hereby propose a new Greedy Pipe Construction Algorithm (GPCA) with time complexity O(Cn)O(Cn). Our new algorithm outperforms KTNS algorithm on large-scale datasets by at least an order of magnitude in terms of CPU times.

Keywords

Cite

@article{arxiv.2207.02004,
  title  = {An almost linear time complexity algorithm for the Tool Loading Problem},
  author = {Mikhail Cherniavskii and Boris Goldengorin},
  journal= {arXiv preprint arXiv:2207.02004},
  year   = {2022}
}

Comments

Full version of the paper submitted to International Symposium on Algorithmics of Wireless Networks

R2 v1 2026-06-24T12:14:26.024Z