FUN 2007: Fun with Algorithms pp 227-239

# The Ferry Cover Problem

• Michael Lampis
• Valia Mitsou
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4475)

## Abstract

In the classical wolf-goat-cabbage puzzle, a ferry boat man must ferry three items across a river using a boat that has room for only one, without leaving two incompatible items on the same bank alone. In this paper we define and study a family of optimization problems called Ferry problems, which may be viewed as generalizations of this familiar puzzle.

In all Ferry problems we are given a set of items and a graph with edges connecting items that must not be left together unattended. We present the Ferry Cover problem (FC), where the objective is to determine the minimum required boat size and demonstrate a close connection with Vertex Cover which leads to hardness and approximation results. We also completely solve the problem on trees. Then we focus on a variation of the same problem with the added constraint that only 1 round-trip is allowed (FC1). We present a reduction from MAX-NAE-{3}-SAT which shows that this problem is NP-hard and APX-hard. We also provide an approximation algorithm for trees with a factor asymptotically equal to $$\frac{4}{3}$$. Finally, we generalize the above problem to define FCm, where at most m round-trips are allowed, and MFTk, which is the problem of minimizing the number of round-trips when the boat capacity is k. We present some preliminary lemmata for both, which provide bounds on the value of the optimal solution, and relate them to FC.

### Keywords

approximation algorithms graph algorithms vertex cover transportation problems wolf-goat-cabbage puzzle

## Preview

### References

1. 1.
Arora, S., Lund, C., Motwani, R., Sudan, M., Szegedy, M.: Proof verification and intractability of approximation problems. In: Proc. 33rd IEEE annual Symposium on Foundations of Computer Science (FOCS), pp. 13–22. IEEE Computer Society Press, Los Alamitos (1992)Google Scholar
2. 2.
Borndörfer, R., Grötschel, M., Löbel, A.: Alcuin’s transportation problems and integer programming (1995)Google Scholar
3. 3.
Garey, M.R., Johnson, D.S.: Computers and Intractability: A guide to the theory of NP-completeness. W. H. Freeman and Co., New York, NY (1979)
4. 4.
Hell, P., Nešetřil, J.: On the complexity of h-coloring. J. Comb. Theory Ser. B. 48(1), 92–110 (1990)
5. 5.
Petrank, E.: The hardness of approximation: Gap location. In: Computational Complexity, vol. 4, Springer, Heidelberg (1994)Google Scholar
6. 6.
Vazirani, V.V.: Approximation Algorithms. Springer, Heidelberg (2001)