All capacities modular cost survivable network design problem using genetic algorithm with completely connection encoding
© Huynh Thi Thanh and Ngo Hong; licensee Springer 2014
Received: 23 April 2014
Accepted: 10 June 2014
Published: 17 July 2014
We study the survivable network design problem (SNDP) for simultaneous unicast and anycast flows in networks where the link cost follows All Capacities Modular Cost (ACMC) model. Given a network modeled by a connected, undirected graph and a set of flow demands, this problem aims at finding a set of connections with a minimized network cost in order to protect the network against any single failure. This paper proposes a new Genetic Algorithm with an efficient encoding to solve the SNDP in networks with ACMC model (A-SNDP). Our encoding scheme is simple and allows large search space. Extensive simulation results on real large topology instances show that the proposed algorithm is much more efficient than the Tabu Search and other conventional Genetic Algorithm in terms of minimizing the network cost.
KeywordsSurvivable network design All capacities modular cost Anycast Unicast Genetic algorithm
There are many types of connection for data transmission over the Internet. The most popular type of connection is from one node to another, which is called unicast. An anycast connection is also from one node to another, the difference is that the destination node has a one or many replicated servers which back up for it. Anycast has in recent years become increasingly popular for adding redundancy to many Internet services [–]. Anycast connection is currently used in many applications such as Domain Name Service (DNS), Web Service, Overlay Network, peer-to-peer (P2P) systems, Content Delivery Network (CDN), software distribution. The popularity of anycast technology will increase in the near future, since many new services that use both unicast and anycast paradigms are being developed.
In the Internet, any network failure can cause serious consequences, e.g., a single link failure affected more than 30,000 users and it takes 12 hours to fix []. Therefore, the design of survivable networks is a crucial problem. For the commnunication networks, the research in [] presented detailed information on protecting as well as restoring them with specifies techniques such that organization time and money can be saved. Also, in the survivable network design problem (SNDP) with simultaneous unicast and anycast flows, the common objective is to minimize the network cost to protect network against failures. To guarantee the survivability, we adopt the protection approach [–] in that each connection must include a working path and a link-disjoint backup path. The working path is used for data transmission in failure-free state of the network. If there is a single link failure on the working path, the failed connection is then switched to the backup path.
In [] Gładysz et al. have considered the SNDP for networks using ACMC (All Capacities Modular Cost) link cost model (here after called by A-SNDP). In the ACMC model, a link has many bandwidth levels, each level has a corresponding cost. Many flow demands can go through the same link thus the link cost is defined as the total of required bandwidth from all demands on that link. The network cost is defined as the total of all link cost. The A-SNDP problem is defined as follows. Given a network modeled by an undirected graph where the link cost follows ACMC model and a set of survivable flow demands between node pairs with correspon-ding bandwidth and type of connection (anycast or unicast), this problem aims at finding a set of connection for all flow demands such that the network cost is minimized. The authors in [] have also proposed a heuristic for A-SNDP using Tabu Search. However, their result is still far from optimal approach.
Genetic algorithm (GA) has been proved effective on NP-hard problem []. There have been a lot of research works on using GA approach to solve NP-hard problem, particularly in net-work design problem [,]. In our previous work [], we have developed a genetic algorithm for A-SNDP called CDE-GA that uses Connection Database Encoding for individual representation. However, this encoding method is complex and search space is not diverse enough, thus it limits the performance of GA approach in solving A-SNDP problem.
In this paper, we propose new individual encoding scheme called Complete Connection Encoding (CCE) with genetic algorithm for solving A-SNDP. CCE encoding is simple, and it helps to create more new individuals and enlarge the search space to find better solution in large network instances. We then design the evolution operators using CCE and simulate our proposed algorithm with three typical network instances (Polska, Germany, Atlanta) and two large instances (Germany50, America). We compare the results with Tabu Search [] and CDE-GA. Results obtained in experimentation show that our proposed algorithm are much better than the compared algorithms in terms of minimizing network cost.
The rest of this paper is organized as follows. Section "Problem description and related works" describes problem and the related works. Our new approach to encode individual and the proposed GA algorithm to solve A-SNDP is shown in Section "Genetic algorithm for solving A-SNDP". Experimental results are given in Section "Experimental results". The paper concludes with Section "Conclusion" by discussion and future works.
Problem description and related works
The SNDP is generally presented in [] that considers both economics and reliability in telecommunication network design. The SNDP has to guarantee the survivability of a network system against single or multiple failures and also to minimize the network cost. In both cases, single [–] and multiple failures [], the most popular way mentioned in the literature is the single backup path approach. The main idea of this method is as follows: Each connection has a working path and a backup path, if there is a single link failure on the working path, the failed connection is then switched over its backup path [–]. In this work, we consider the protection network from any single failure and assume that one backup path is dedicated for one working path. The approach of using shared backup path [] is not considered in the scope of this paper.
here, c i is the cost of link i; B k and C k is bandwidth and corresponding cost in level k; R ij is the required bandwidth from the demand j on the link i.
In the literature, there are many papers focus on minimizing the network cost for SNDP problem (see [,,]) and references therein). They use branch – and – bounds or branch – and – cut methods to find optimal solution. These methods can only use for networks with small number of nodes. For larger networks, they have proposed many heuristics such as evolutionary algorithms, tabu search and simulated annealing. In [], Nissen and Gold applied the evolution strategy (ES) to solve this problem. It is shown by the authors that when using ES, a larger population can achieve better result than a smaller one by avoiding or delaying convergence on local suboptimal. However, this algorithm is applied in the network which has only unicast flows.
With the network which has both anycast and unicast flows, Walkowiak et al. presented a heuristic algorithm for solving A-SNDP []. The main idea of this algorithm is based on Flow Deviation method [] and Local Search algorithm []. They achieved a very good result with small networks such as the Polska instance and showed that the average gap of the proposed heuristic to the optimal result is around 7.11%. Furthermore, they also built a Tabu Search algorithm based on hill climbing method with some heuristics to solve this problem []. Experiments on three network instances which are Polska (12 nodes, 36 links), Germany (17 nodes, 52 links) and Atlanta (26 nodes, 82 links) showed many promising results. In particular with Polska network (smallest instances), they achieve the average gap to optimal results is 2.57% for 70% anycast/30% unicast case and 2.00% for 80% anycast/20% unicast case. It is observed that by using TS, even on a small network instance like Polska, there is still a significant gap to the optimal result, therefore, the result obtained by Tabu Search algorithm can be further improved.
In [], Huynh et al. proposed the FBB heuristic (FBB1 and FBB2) for solving A-SNDP. The main idea of FBB1 is based on the use of redundant bandwidth corresponding with paid cost level in each link and that of FBB2 is the combination of FBB1 and the Tabu Search algorithm (TS). Experiments conducted on three network instances (Polska, Germany and Atlanta) show that FBB1 and FBB2 have better result than that of TS []. However, the improvement of FBB in compared with TS is still not significant.
In [], Binh et.al proposed a new algorithm called CDE-GA based on Genetic Algorithm for solving A-SNDP. A new characteristic of this algorithm is to use a new encoding called Connection Database based Encoding (CDE). They also experimented on three instances which are Polska, Germany and Atlanta network [,]. With each instance, they randomly create 10 test sets that are different from the content of customers’ demands. The results show that the proposed approach is quite effective with A-SNDP. On the big instances (likely Germany and Atlanta network), CDE-GA has much better results than Tabu Search. However, on the small network (likely Polska network), the deviation of the results found by CDE-GA and the results found by Tabu Search is not significant. Other drawback of CDE-GA is that in the mutation operator, only the identification of backup path is changed so it is difficult to create more new paths, thus it limits the search space of GA approach in solving A-SNDP problem.
In the next section, we develop our new Genetic Algorithm by proposing a new scheme to encode an individual for solving the A-SNDP. This scheme is expected to improve the effectiveness in terms of network cost when adopting GA for this problem, especially on large scale network instances.
Genetic algorithm for solving A-SNDP
To initialize an individual T, we create each of its substring T i in turn. The working path of T i is built by using a path finding algorithm. After that, all the link of this path will be deleted from the graph to find the backup path of T i . using the same path finding algorithm. Therefore, to initiate an individual that represents a solution of A-SNDP, we need the time is O(|D|.n2) where n is the number of nodes.
We choose some individuals in the current population randomly. Then, with each selected indivi-dual, we choose one substring i randomly and replace its working path as well as backup path by other couple of link-disjoint paths satisfying the demand i.
Structure of genetic algorithm for solving A-SNDP
Below is pseudo-code of our proposed algorithm. In line 4, 7 and 14, noGeneration, noCrossover and noMutation stand for the number of generation, the number of crossover operator and the number of mutation operator, respectively.
We run our proposed algorithm (CCE-GA) independently and compare its performance with the Tabu Search [] and CDE-GA []. All the programs are run on a machine with Intel Core 2 Duo U7700, RAM 2GB, Windows 7 Ultimate, and are installed by C++ and Java language.
Topology instances for experiments
For both CDE-GA and CCE-GA, the number of individual is 300 and the number of generation is 300. This is based on our observation from experiments that when we used larger values, the result is not better. In CCE-GA, we set the one-point crossover probability to 17% and the path crossover probability is also 17%. The selection of crossover probability value is tuned after many experiments with the range from 10% to 50%. The mutation rate is set to a small value (3%). Experiment is repeated 10 times for each test set.
Result and discussion
The average cost found by CCE-GA are 15% and 10% better than Tabu Search and CDE-GA, respectively. The same results can be observed in Figure 8; The best network cost found by CCE-GA are 8% and 4% better than Tabu Search and CDE-GA, while the average network cost found by CCE-GA are better than Tabu Search and CDE-GA about 7% and 6%.
These above results prove the efficiency of Genetic Algorithms over Tabu Search for this problem. These results also demonstrate the efficiency of our new encoding scheme because it helps to increase the performance of CCE-GA in compare with CDE-GA. As we have explained in previous section, the new encoding scheme can exploit a larger search space. Therefore it can find a better result than that of CDE-GA.
The best and average results found on polska network after 10 running times
The best and average results found on ta2 network after 10 running times
The comarision of the average running time (in second) found by tabu search, cde-ga and cce-ga
In this paper, we proposed a new algorithm called CCE-GA for solving A-SNDP. This algorithm uses a new simple encoding scheme called Completely Connection Encoding (CCE) to enlarge the search space to find better solution in large network instances. Experiments are conducted on real network topologies on show that our proposed approach is very efficient in solving A-SNDP. On the big instances, such as Atlanta, Germany50 and TA2 networks, the best and average result found by CCE-GA are much better than CDE-GA and Tabu Search. However, CCE-GA takes much more running times in compare with Tabu Search and CDE-GA to find best result. But if the running time for Tabu Search, CDE-GA is increased, the best result is not improved.
In the future, we are planning to improve this algorithm for solving bigger instances in a reasonable time. Moreover, we hope that we can find the other approach with better results for A-SNDP.
This work was supported by the project “Models for next generation of robust Internet” funded by the Ministry of Science and Technology, Vietnam under grant number 12/2012-HD-NDT.
- Johnson D, Deering S (1999) Reserved IPv6 Subnet Anycast Addresses. RFC 2526 Johnson D, Deering S (1999) Reserved IPv6 Subnet Anycast Addresses. RFC 2526
- Ballani H, Francis P: Towards a global IP anycast service. In SIGCOMM’05., New York, USA; 2005:301–312.Google Scholar
- Walkowiak K: Anycast Communication – A New Approach to Survivability of Connection-Oriented Networks. In Communications in Computer and Information Science. Springer, Berlin; 2003:378–389.Google Scholar
- Vasseur J, Pickavet M, Demeester P: Network Recovery: Protection and Restoration of Optical, SONET-SDH, IP and MPLS. Morgan Kaufmann, San Francisco; 2004.Google Scholar
- Gładysz J, Walkowiak K: Tabu Search Algorithm for Survivable Network Design Problem with Simultaneous Unicast and Anycast Flows. In Intl Journal Of Electronics And Telecommunications. Versita Publisher, Warsaw; 2010:41–48. no. 1 no. 1Google Scholar
- Walkowiak K: A Flow Deviation Algorithm for Joint Optimization of Unicast and Anycast Flows in Connection-Oriented Networks. In Osvaldo Gervas, Computational Science and Its Applications – ICCSA 2008, LNCS. Springer, Perugia, Italy; 2008:797–807. 10.1007/978-3-540-69848-7_63View ArticleGoogle Scholar
- Walkowiak K: A New Function for Optimization of Working Paths in Survivable MPLS Networks. In Computer and Information Sciences – ISCIS 2006. Springer, Istanbul; 2006:424–433. 10.1007/11902140_46View ArticleGoogle Scholar
- Grover W: Mesh-based Survivable Networks: Options and Strategies for Optical, MPLS, SONET and ATM Networking. Prentice Hall PTR, Upper Saddle River, New Jersey; 2004.Google Scholar
- Nissen V, Gold S: Survivable network design with an evolution strategy. In Success in Evolutionary Computation. Springer, Berlin; 2008:263–283. 10.1007/978-3-540-76286-7_12View ArticleGoogle Scholar
- Sharma V, Hellstrand F (2003) Framework for MPLS-based recovery. RFC 3469Google Scholar
- Michalewicz Z: Genetic Algorithms + Data Structures = Evolution Programs. Springer,; 1995.Google Scholar
- Huynh Thi Thanh B, Son Hong N, Nguyen Ngoc D: Genetic Algorithm for Solving Survivable Network Design with Simultaneous Unicast and Anycast Flows. In the Proceedings of the Eighth International Conference on Bio-Inspired Computing: Theories and Applications. BIC-TA, China; 2013:1237–1247.Google Scholar
- Kerivin H, Ridha Mahjoub A: Design of survivable networks: A survey. J Netw 2005, 46: 1–21. 10.1002/net.20072View ArticleMATHGoogle Scholar
- Jozsa BG, Orincsay D, Kern A: Surviving Multiple Network Failures Using Shared Backup Path Protection. In Proceedings of the Eighth IEEE International Symposium on Computers and Communications. Kiris-Kemer, Turkey; 2003. June 30-July 03, 2003, pp. 1333 June 30-July 03, 2003, pp. 1333Google Scholar
- Pioro M, Medhi D: Routing, Flow, and Capacity Design in Communication and Computer Networks. Morgan Kaufmann Publishers, San Francisco, CA, USA; 2004.MATHGoogle Scholar
- Gladysz J: Krzysztof Walkowiak: Optimization of survivable networks with simultaneous unicast and anycast flows. Poland, ICUMT; 2009.Google Scholar
- Battiti R, Brunato M, Mascia F: Reactive Search and Intelligent Optimization 1st. Springer, New York, USA; 2008.Google Scholar
- Huynh Thi Thanh B, Pham Vu L, Nguyen Ngoc D, Nguyen Sy Thai H: Heuristic Algorithms for Solving Survivable Network Design Problem with Simultaneous Unicast and Anycast Flows. In The Eight International Conference on Intelligence on Computing, ICIC-2012., Huangshang, China; 2012:137–145.Google Scholar
- Orlowski S, Wessäly R, Pióro M, Tomaszewski A: SNDlib 1.0-Survivable Network Design Library. Networks 2010, 55(3):276–286.Google Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.