Skip to main content
Log in

Degree-Constrained Graph Orientation: Maximum Satisfaction and Minimum Violation

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

A degree-constrained graph orientation of an undirected graph G is an assignment of a direction to each edge in G such that the outdegree of every vertex in the resulting directed graph satisfies a specified lower and/or upper bound. Such graph orientations have been studied for a long time and various characterizations of their existence are known. In this paper, we consider four related optimization problems introduced in reference (Asahiro et al. LNCS 7422, 332–343 (2012)): For any fixed non-negative integer W, the problems MAX W-LIGHT, MIN W-LIGHT, MAX W-HEAVY, and MIN W-HEAVY take as input an undirected graph G and ask for an orientation of G that maximizes or minimizes the number of vertices with outdegree at most W or at least W. As shown in Asahiro et al. LNCS 7422, 332–343 (2012)).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Notes

  1. The average degree of a vertex in the subgraph G[S] is given by the density |E(S)|/|S|, which implies that there is a vertex of degree at least this value. Since |E(S)|/|S| is not always an integer, the maximum degree of the graph G[S] is at least ⌈|E(S)|/|S|⌉. This is why we use the ceiling function in the definition of the maximum density.

  2. Recall that the minimum cost flow problem (see, e.g., [22]) takes as input a flow network with a specified capacity u i and cost c i for each arc a i , and asks for a flow from the source to the sink of some specified size that has the minimum cost, where the cost is defined as \({\sum }_{a_{i}} c_{i} x_{i}\) and where x i is the amount of the flow along the arc a i .

  3. It is not necessary for all U i ’s to satisfy the same condition; i.e., it is possible that U i is W-light while U j is (W+1)-heavy for some ij.

  4. Algorithm Reverse works as follows: Start with any orientation Λ of G. Select a vertex v 0 with the highest outdegree in Λ(G), find a directed path \(P = (v_{0}, v_{1}, \dots , v_{k})\) satisfying \(d^{+}_{\Lambda }(v_{i}) \leq d^{+}_{\Lambda }(v_{0})\) for 1≤ik−1 and \(d^{+}_{\Lambda }(v_{k}) \leq d^{+}_{\Lambda }(v_{0}) - 2\), flip the direction of every edge along P, and repeat the above process (select a v 0, etc.) until no such path P exists. Output Λ.

References

  1. Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network Flows. Prentice Hall (1993)

  2. Asahiro, Y., Jansson, J., Miyano, E., Ono, H.: Graph orientation to maximize the minimum weighted outdegree. Int. J. Found. Comput. Sci. 22(3), 583–601 (2011)

    Article  MATH  MathSciNet  Google Scholar 

  3. Asahiro, Y., Jansson, J., Miyano, E., Ono, H., Zenmyo, K.: Approximation algorithms for the graph orientation minimizing the maximum weighted outdegree. J. Comb. Optim. 22(1), 78–96 (2011)

    Article  MATH  MathSciNet  Google Scholar 

  4. Asahiro, Y., Jansson, J., Miyano, E., Ono, H.: Upper and lower degree bounded graph orientation with minimum penalty. In: Proceedings of CATS 2012. CRPIT Series 128, 139–146 (2012)

    Google Scholar 

  5. Asahiro, Y., Jansson, J., Miyano, E., Ono, H.: Graph orientations optimizing the number of light or heavy vertices. In: Proceedings of ISCO 2012. LNCS 7422, 332–343 (2012)

    MathSciNet  Google Scholar 

  6. Asahiro, Y., Miyano, E., Ono, H., Zenmyo, K.: Graph orientation algorithms to minimize the maximum outdegree. Int. J. Found. Comput. Sci. 18(2), 197–215 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  7. Chlebik, M., Chlebikova, J.: Complexity of approximating bounded variants of optimization problems. Theor. Comput. Sci. 354(3), 320–338 (2006)

    Article  MATH  MathSciNet  Google Scholar 

  8. Chrobak, M., Eppstein, D.: Planar orientations with low out-degree and compaction of adjacency matrices. Theor. Comput. Sci. 86(2), 243–266 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  9. Chung, F.R.K., Garey, M.R., Tarjan, R.E.: Strongly connected orientations of mixed multigraphs. Networks 15(4), 477–484 (1985)

    Article  MATH  MathSciNet  Google Scholar 

  10. Dinur, I., Safra, S.: On the hardness of approximating minimum vertex cover. Ann. Math. 162(1), 439–485 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  11. Ebenlendr, T., Krčál, M., Sgall, J.: Graph balancing: A special case of scheduling unrelated parallel machines. Algorithmica 68(1), 62–80 (2014)

    Article  MATH  MathSciNet  Google Scholar 

  12. Feige, U.: Approximating maximum clique by removing subgraphs. SIAM J. Discret. Math. 18(2), 219–225 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  13. Frank, A.: Connections in Combinatorial Optimization. Oxford University Press (2011)

  14. Frank, A., Gyárfás, A.: How to orient the edges of a graph? Combinatorics Volume I, North-Holland, 353–364 (1978)

  15. Gabow, H.N.: Upper degree-constrained partial orientations. In: Proceedings of SODA 2006, 554–563 (2006)

  16. Garey, M., Johnson, D.: Computers and Intractability – A Guide to the Theory of NP-Completeness. W. H. Freeman and Company, New York (1979)

    MATH  Google Scholar 

  17. Goldberg, A.V., Rao, S.: Beyond the flow decomposition barrier. J. ACM 45(5), 783–797 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  18. Hakimi, S.L.: On the degrees of the vertices of a directed graph. J. Frankl. Inst. 279(4), 290–308 (1965)

    Article  MATH  MathSciNet  Google Scholar 

  19. Kowalik, L.: Approximation scheme for lowest outdegree orientation and graph density measures. In: Proceedings of ISAAC 2006. LNCS 4288, 557–566 (2006)

    MathSciNet  Google Scholar 

  20. Landau, H.G.: On dominance relations and the structure of animal societies: III The condition for a score structure. Bull. Math. Biophys. 15(2), 143–148 (1953)

    Article  MathSciNet  Google Scholar 

  21. Nash-Williams, C. St. J.A.: On orientations, connectivity and odd-vertex-pairings in finite graphs. Can. J. Math. 12 (4), 555–567 (1960)

    Article  MATH  MathSciNet  Google Scholar 

  22. Orlin, J.B.: A polynomial time primal network simplex algorithm for minimum cost flows. Math. Program. 97, 109–129 (1997)

    MathSciNet  Google Scholar 

  23. Orlin, J.B.: Max flows in O(n m) time, or better. In: Proceedings of STOC 2013, 765–774 (2013)

  24. Robbins, H.E.: A theorem on graphs, with an application to a problem of traffic control. The American Mathematical Monthly 46(5), 281–283 (1939)

    Article  Google Scholar 

  25. Schrijver, A.: Combinatorial Optimization. Springer (2003)

  26. Stanley, R.P.: Acyclic orientations of graphs. Discret. Math. 5 (2), 171–178 (1973)

    Article  MATH  Google Scholar 

  27. Trevisan, L.: Non-approximability results for optimization problems on bounded degree instances. In: Proceedings of STOC 2001, 453–461(2001)

  28. Venkateswaran, V.: Minimizing maximum indegree. Discret. Appl. Math. 143(1-3), 374–378 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  29. Wolsey, L.A.: An analysis of the greedy algorithm for the submodular set covering problem. Combinatorica 2(4), 385–393 (1982)

    Article  MATH  MathSciNet  Google Scholar 

  30. Zuckerman, D.: Linear degree extractors and the inapproximability of Max Clique and Chromatic Number. Theory of Computing 3(1), 103–128 (2007)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

This work was supported by KAKENHI grant numbers 23500020, 25104521, 25330018, 26330017, and 26540005 and The Hakubi Project at Kyoto University. The authors would like to thank the anonymous reviewers for their detailed comments and suggestions that helped to improve the presentation of the paper, and Peter Floderus for pointing out an error in one of the figures.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuichi Asahiro.

Additional information

An extended abstract of this paper appeared in Proceedings of the 11th International Workshop on Approximation and Online Algorithms (WAOA 2013), volume 8447 of Lecture Notes in Computer Science, pp. 24–36, Springer International Publishing Switzerland, 2014.

A Appendix: An alternative proof of the submodularity of g 1

A Appendix: An alternative proof of the submodularity of g 1

Suppose E={e 1,e 2,…,e m }. Let \(U = \bigcup _{i=1}^{W+1} \{v^{(i)} \,:\, v\in V\}\) be a set of W+1 copies of the vertices of V. To represent adjacency between the endpoints of e i in G, define E i,j ={{e i ,u (j)},{e i ,v (j)} : e i ={u,v}∈E}. For each edge e i , let E i denote \(\bigcup _{j=1}^{W+1} E_{i,j}\).

Consider a bipartite graph \(H = (E\cup U, E')\) with (W+1)n+m vertices and 2(W+1)m edges, where \(E' = \bigcup _{i=1}^{m} E_{i}\). Every matching M in H can be defined as a subset of E′. Then, the family of matchings is denoted by \(\mathcal {M} = \{M \,:\, M \ \mbox {is a matching in}\ H\}\). Here it is easy to see that a pair \((E', \mathcal {M})\) is a transversal matroid induced by \(\mathcal {E} = \{E_{1}, E_{2}, \ldots , E_{m}\}\).

We now show the correspondence between the matroid \((E', \mathcal {M})\) and the objective value of P 1(G,W,S). The key observation is that a matching edge {e,u} in H corresponds to orienting the edge e away from the vertex u in G. We can make an orientation of G based on a matching in H: If an edge e is an endpoint of the matching edge {e,u} (called type I), then orient e away from u in G. After that, orient the remaining edges (type II) arbitrarily in G.

For each v, let C v denote \(\bigcup _{i=1}^{W+1} \{v^{(i)}\}\). Consider the induced subgraph \(H' = H[E\cup \bigcup _{v\in V\setminus S} C_{v}]\) of H and a maximum matching M in H′. For each \(v\in \bigcup _{u \in V\setminus S} C_{u}\) in H′, the number n v of vertices in C v covered by M is equal to \(\min \{W+1, d^{+}_{\Lambda }(v)\}\) under the above constructed orientation Λ of G: Since H has only W+1 copies of each vertex u, n v is clearly at most W+1. To obtain a contradiction, assume \(d^{+}_{\Lambda }(v) < W+1\) and \(n_{v} \neq d^{+}_{\Lambda }(v)\). If \(n_{v} < d^{+}_{\Lambda }(v)\), there is an edge e={v,u} of type II for some u in G. The existence of such an edge in G implies that the edges of the form {e,v (i)} and {e,u (i)} exist in H but none of them are included in M , which contradicts the optimality of M . In addition, the above procedure to construct an orientation guarantees that \(n_{v} \leq d^{+}_{\Lambda }(v)\). Hence, the optimal value of P 1(G,W,S), i.e., \(\max _{\Lambda \in \mathcal {O}(G)} {\sum }_{v\in V\setminus S} \min \{W+1, d^{+}_{\Lambda }(v)\}\) equals the size of a maximum matching in H′.

Finally, we verify the submodularity of g 1. For \(T\subseteq E'\), consider the subgraph H[T] of H. The size of a maximum matching in H[T] is equal to the rank function of the matroid \((E',\mathcal {M})\):

$$r_{\mathcal{M}}(T) = \max\{|Z| \,:\, Z\subseteq T, Z\in \mathcal{M}\}$$

For a subset \(S\subseteq V\) of G, we can define \(T_{S} \subseteq E'\) as {{e,v} : {e,v}∈E′,vS}. Hence, the optimal value of P 1(G,W,S) can be rewritten as \(r_{\mathcal {M}}(T_{S})\). It is well known that the rank function of a (transversal) matroid is submodular and that the sum of two submodular functions is submodular (e.g., [25]). It follows that g 1(S)=r(T S )+|S|(W+1) is submodular since |S|(W+1) is also submodular.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Asahiro, Y., Jansson, J., Miyano, E. et al. Degree-Constrained Graph Orientation: Maximum Satisfaction and Minimum Violation. Theory Comput Syst 58, 60–93 (2016). https://doi.org/10.1007/s00224-014-9565-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-014-9565-5

Keywords

Navigation