Max-min algebra, equipped with maximum and minimum operations, provides a natural framework for modeling systems with bottleneck constraints, such as logistics and transportation networks. An algorithm for solving two-sided linear systems of the form A x = B x in max-min algebra has been proposed, for which the maximal solution can be constructed explicitly for the 1 n case under three conditionsunconstrained, with a given upper bound, and with a given lower boundand generalized to the m n case, terminating after at most m iterations and producing a unique maximal solution with complexity O(m2n). However, no implementation has been made available, which limits its use for larger, practically sized problems: the algorithm may require up to m computational cycles, so the computational burden grows with the matrix sizeparticularly the number of rowsand manual calculation becomes more prone to error. This paper addresses this gap by providing a Python implementation of the algorithm, along with a numerical application to a logistics distribution network. The Python implementation makes the algorithm accessible to practitioners, and the logistics example demonstrates how the model can be used to determine optimal road capacities. This work provides a practical computational tool for solving capacity planning problems in logistics and transportation.
No takes yet. Share an insight, caveat, or question.
Putri et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: