Abstract
Given an undirected and edge-weighted graph G together with a set of ordered vertex-pairs, called st-pairs, we consider two problems of finding an orientation of all edges in G: min-sum orientation is to minimize the sum of the shortest directed distances between all st-pairs; and min-max orientation is to minimize the maximum shortest directed distance among all st-pairs. Note that these shortest directed paths for st-pairs are not necessarily edge-disjoint. In this paper, we first show that both problems are strongly NP-hard for planar graphs even if all edge-weights are identical, and that both problems can be solved in polynomial time for cycles. We then consider the problems restricted to cacti, which form a graph class that contains trees and cycles but is a subclass of planar graphs. Then, min-sum orientation is solvable in polynomial time, whereas min-max orientation remains NP-hard even for two st-pairs. However, based on LP-relaxation, we present a polynomial-time 2-approximation algorithm for min-max orientation. Finally, we give a fully polynomial-time approximation scheme (FPTAS) for min-max orientation on cacti if the number of st-pairs is a fixed constant.
Similar content being viewed by others
References
Brandstädt, A., Le, V.B., Spinrad, J.P.: Graph Classes: A Survey. Society for Industrial and Applied Mathematics, Philadelphia (1999)
Chvátal, V., Thomassen, C.: Distances in orientations of graphs. J. Comb. Theory, Ser. B 24, 61–75 (1978)
Eggemann, N., Noble, S.D.: Minimizing the oriented diameter of a planar graph. Electron. Notes Discrete Math. 34, 267–271 (2009)
Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, San Francisco (1979)
Guibas, L.J., Hershberger, J.E., Mitchell, J.S.B., Snoeyink, J.S.: Approximating polygons and subdivisions with minimum-link paths. Int. J. Comput. Geom. Appl. 3, 383–415 (1993)
Hakimi, S.L., Schmeichel, E.F., Young, N.E.: Orienting graphs to optimize reachability. Inf. Process. Lett. 63, 229–235 (1997)
Ito, T., Miyamoto, Y., Ono, H., Tamaki, H., Uehara, R.: Route-enabling graph orientation problems. In: Proc. of the 20th Annual International Symposium on Algorithms and Computation (ISAAC 2009). LNCS, vol. 5878, pp. 403–412. Springer, Berlin (2009)
Le-Anh, T., de Koster, M.B.M.: A review of design and control of automated guided vehicle systems. Eur. J. Oper. Res. 171, 1–23 (2006)
Lee, C.-Y., Lei, L., Pinedo, M.: Current trends in deterministic scheduling. Ann. Oper. Res. 70, 1–41 (1997)
Medvedovsky, A., Bafna, V., Zwick, U., Sharan, R.: An algorithm for orienting graphs based on cause-effect pairs and its applications to orienting protein networks. In: Proc. of the 8th Workshop on Algorithms in Bioinformatics (WABI 2008). LNBI, vol. 5251, pp. 222–232 (2008)
Papadimitriou, C.H.: Computational Complexity. Addison-Wesley, Reading (1994)
Robbins, H.E.: A theorem on graphs with an application to a problem of traffic control. Am. Math. Mon. 46, 281–283 (1939)
Uehara, R., Uno, Y.: On computing longest paths in small graph classes. Int. J. Found. Comput. Sci. 18, 911–930 (2007)
Vazirani, V.V.: Approximation Algorithms. Springer, Heidelberg (2001)
Acknowledgements
We thank the referees for their fruitful comments, one of which leads us to improvements of the hardness analyses for min-sum orientation.
Author information
Authors and Affiliations
Corresponding author
Additional information
An extended abstract of this paper has been presented at the 20th International Symposium on Algorithms and Computation (ISAAC 2009) [7].
This work is partially supported by Grant-in-Aid for Scientific Research.
Rights and permissions
About this article
Cite this article
Ito, T., Miyamoto, Y., Ono, H. et al. Route-Enabling Graph Orientation Problems. Algorithmica 65, 317–338 (2013). https://doi.org/10.1007/s00453-011-9589-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-011-9589-z