World Journal of Engineering and Technology
Vol.03 No.03(2015), Article ID:60497,16 pages
10.4236/wjet.2015.33C018
Cost Edge-Coloring of a Cactus
Zhiqian Ye1, Yiming Li2, Huiqiang Lu3, Xiao Zhou4
1Zhejiang University, Hanzhou, China
2Wenzhou University, Wenzhou, China
3Zhejiang University of Technology, Hangzhou, China
4Tohoku University, Sendai, Japan
Email: yezhiqian@zju.edu.cn, ymli@wzu.edu.cn, lhq@zjut.edu.cn, zhou@ecei.tohoku.ac.jp


Received 11 August 2015; accepted 15 October 2015; published 22 October 2015

ABSTRACT
Let C be a set of colors, and let
be an integer cost assigned to a color c in C. An edge-coloring of a graph
is assigning a color in C to each edge
so that any two edges having end-vertex in common have different colors. The cost
of an edge-coloring f of G is the sum of costs
of colors
assigned to all edges e in G. An edge-coloring f of G is optimal if
is minimum among all edge-colorings of G. A cactus is a connected graph in which every block is either an edge or a cycle. In this paper, we give an algorithm to find an optimal edge- coloring of a cactus in polynomial time. In our best knowledge, this is the first polynomial-time algorithm to find an optimal edge-coloring of a cactus.
Keywords:
Cactus, Cost Edge-Coloring, Minimum Cost Maximum Flow Problem

1. Introduction
Let
be a graph with vertex set V and edge set E, and let C be a set of colors. An edge-coloring of G is to color all the edges in E so that any two adjacent edges are colored with different colors in C. The minimum number of colors required for edge-colorings of G is called the chromatic index, and is denoted by
. It is well-known that
for every simple graph G and that
for every bipartite (multi)graph G, where
is the maximum degree of G [1]. The ordinary edge-coloring problem is to compute the chromatic index
of a given graph G and find an edge-coloring of G using
colors. Let
be a cost function which assigns an integer
to each color
, then the cost
edge-coloring problem is to find an optimal edge-coloring of G, that is, an edge-coloring f such that
is minimum among all edge-colorings of G. An optimal edge-coloring does not always use the minimum number 












Figure 1. (a) An edge-coloring using 



using 



The cost edge-coloring problem has a natural application for scheduling [5]. Consider the scheduling of biprocessor tasks of unit execution time on dedicated machines. An example of such tasks is the file transfer problem in a computer network in which each file engages two corresponding nodes, sender and receiver, simultaneously [6]. Another example is the biprocessor diagnostic problem in which links execute concurrently the same test for a fault tolerant multiprocessor system [7]. These problems can be modeled by a graph G in which machines correspond to the vertices and tasks correspond to the edges. An edge-coloring of G cor- responds to a schedule, where the edges colored with color 

The cost edge-coloring problem is APX-hard even for bipartite graphs [8], and hence there is no polynomial- time approximation scheme (PTAS) for the problem unless




2. Preliminaries
In this section, we define some basic terms.
Let 






















Let C be a set of colors. An edge-coloring 





Figure 2. (a) A cactus; and (b) its under tree.
index i,





An edge-coloring f of G is called an optimal one if 

Let f be an edge-coloring of a graph G. For each vertex v of G, let 
We say that a color 



3. Algorithm
In this section we prove the following theorem.
Theorem 1. An optimal edge-coloring of a cactus can be found in polynomial time.
As a proof of Theorem 1, we give a dynamic programming algorithm in the remainder of this section to compute the minimum cost 

A dynamic programming method is a standard one to solve a combinatorial problem on graphs with tree- construction. We also use it, and compute the minimum cost 
3.1. Ideas and Definitions
Let b be a node of T with its parent









If 




We compute the values 





Our algorithm computes 



and it can be computed in polynomial time. Thus the remainder problem is how to compute all the values 


3.2. Algorithm
In this subsection, we explain how to compute all the values 


3.2.1. The Node b Is a Leaf in T
In this case, the block b is either an edge or a cycle. Therefore we have the following two cases to consider.
Case 1: the block b is an edge.
In this case, clearly
and all the values


Case 2: the block b is a cycle.
In this case, we describe the following algorithm to compute 


3.2.2. The Node b Is an Internal Node
In order to compute 




Let 

We show how to compute the all the values 






We first introduce 


























The minimum cost maximum flow problem can be solved in time polynomial in the size of the graph [9] [10], and hence the value 














We are now ready to compute
Case 1: the block b is an edge
Let 

and it can be computed in time polynomial in the size of 

Case 2: the block b is a cycle.
In this case, let 








for each j, 

Therefore it suffices to show how to compute 

By Equation (1) we have
and hence 











4. Conclusion
In this paper, we show that the cost edge-coloring problem for a cactus G can be solved in polynomial time. It is still open to solve the problem in polynomial time for outerplanar graphs.
Supported
This work is partially supported by grants of the thousand talent plan of Zhejiang province.
Cite this paper
Zhiqian Ye,Yiming Li,Huiqiang Lu,Xiao Zhou, (2015) Cost Edge-Coloring of a Cactus. World Journal of Engineering and Technology,03,119-134. doi: 10.4236/wjet.2015.33C018
References
- 1. West, D.B. (2000) Introduction to Graph Theory. 2nd Edition, Prentice Hall, New Jersey.
- 2. Hajiabolhassan, H., Mehrabadi, M.L. and Tusserkani, R. (2000) Minimal Coloring and Strength of Graphs. Discrete Mathematics, 215, 265-270. http://dx.doi.org/10.1016/S0012-365X(99)00319-2
- 3. Mitchem, J., Morriss, P. and Schmeichel, E. (1997) On the Cost Chromatic Number of Outerplanar, Planar, and Line Graphs. Discussiones Mathematicae Graph Theory, 17, 229-241. http://dx.doi.org/10.7151/dmgt.1050
- 4. Giaro, K. and Kubale, M. (2000) Edge-Chromatic Sum of Trees and Bounded Cyclicity Graphs. Information Process- ing Letters, 75, 65-69. http://dx.doi.org/10.1016/S0020-0190(00)00072-7
- 5. Zhou, X. and Nishizeki, T. (2004) Algorithm for the Cost Edge-Coloring of Trees. J. Combinatorial Optimization, 8, 97-108. http://dx.doi.org/10.1023/B:JOCO.0000021940.40066.0c
- 6. Coffman, E.G., Garey, M.R., Johnson, D.S. and LaPaugh, A.S. (1985) Scheduling File Transfers. SIAM J. Computing, 14, 744-780. http://dx.doi.org/10.1137/0214054
- 7. Krawczyk, H. and Kubale, M. (1985) An Approximation Algorithm for Diagnostic Test Scheduling in Multicomputer Systems. IEEE Trans. Computers, 34, 869-872. http://dx.doi.org/10.1109/TC.1985.1676647
- 8. Marx, D. (2009) Complexity Results for Minimum Sum Edge Co-loring. Discrete Applied Mathematics, 157, 1034- 1045. http://dx.doi.org/10.1016/j.dam.2008.04.002
- 9. Goldberg, A.V. and Tarjan, R.E. (1987) Solving Minimum Cost Flow Problems by Successive Approximation. Proc. 19th ACM Symposium on the Theory of Computing, 7-18. http://dx.doi.org/10.1145/28395.28397
- 10. Goldberg, A.V. and Tar-jan, R.E. (1989) Finding Minimum-Cost Circulations by Canceling Negative Cycles. J. ACM, 36, 873-886. http://dx.doi.org/10.1145/76359.76368













