Faster algorithms for Frobenius numbers

33Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

The Frobenius problem, also known as the postage-stamp problem or the money-changing problem, is an integer programming problem that seeks nonnegative integer solutions to x1a1 + ⋯ + x nan = M, where ai and M are positive integers. In particular, the Frobenius number f(A), where A = {ai}, is the largest M so that this equation fails to have a solution. A simple way to compute this number is to transform the problem to a shortest-path problem in a directed weighted graph; then Dijkstra's algorithm can be used. We show how one can use the additional symmetry properties of the graph in question to design algorithms that are very fast. For example, on a standard desktop computer, our methods can handle cases where n = 10 and a1 = 107. We have two main new methods, one based on breadthfirst search and another that uses the number theory and combinatorial structure inherent in the problem to speed up the Dijkstra approach. For both methods we conjecture that the average-case complexity is O(a1√n). The previous best method is due to Böcker and Lipták and runs in time O(a1n). These algorithms can also be used to solve auxiliary problems such as (1) find a solution to the main equation for a given value of M; or (2) eliminate all redundant entries from a basis. We then show how the graph theory model leads to a new upper bound on f(A) that is significantly lower than existing upper bounds. We also present a conjecture, supported by many computations, that the expected value of f(A) is a small constant multiple of (1/2 n! IIA) 1/(n-1)-∑A.

Cite

CITATION STYLE

APA

Beihoffer, D., Nijenhuis, A., Hendry, J., & Wagon, S. (2005). Faster algorithms for Frobenius numbers. Electronic Journal of Combinatorics, 12(1 R). https://doi.org/10.37236/1924

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free