Overall results for some particular cases
Some decades ago the increasing importance of the telephony service pushed most telecommunications companies (TELCOs) to deploy optical fibre networks. In order to guarantee appropriate service availability, these networks were designed in such a way that several independent paths were available between each pair of nodes, and in order to optimize these large capital investments several models and algorithms were developed.
Already the optimal design of a single layer network is a challenging task that has been considered by many research groups, see for instance the references: [1-3]. Throughout this work this optical network is referred to as the
Some years afterwards, the exponential growth of Internet traffic volume demanded for higher capacity networks. This demand led to the deployment of dense wavelength division multiplexing (DWDM) technology. Today, DWDM has turned out to be the dominant network technology in high-capacity optical backbone networks. Repeaters and amplifiers must be placed at regular intervals for compensating the loss in optical power while the signal travels along the fibre; hence the cost of a lighpath is proportional to its length over the physical layer. DWDM supports a set of standard high-capacity interfaces (e.g. 1, 2.5, 10 or 40 Gbps). The cost of a connection also depends of the capacity but not proportionally. For economies of scale reasons, the higher the bit-rate the lower the per-bandwidth-cost. The client nodes together with these lightpath connections form a so-called
The increasing number of per-physical-link connections -intrinsic to DWDM- may cause multiple logical link failures from a single physical link failure (e.g., fibre cut). This issue led to the development of new multi-layer models aware of the stack of network layers. Most of these models share in common the 1+1 protection mechanism, that is: for every demand two independent lightpaths must be routed such that in case of any single physical link -or even node- failure, at least one of them survive. The following references:  and  are good examples of this kind of models. Those multi-layer models are suitable for certain families of logical layer technologies such as: synchronous optical networking (SONET) or synchronous digital hierarchy (SDH) since both standards have 1+1 protection as their native protection mechanism.
During many years the connections of IP networks were implemented over SONET/SDH -for simplicity we will only mention SDH from now on-. Most recently: multiprotocol label switching (MPLS), traffic engineering extensions for dynamic routing protocols (e.g. OSPF-TE, ISIS-TE), fast-reroute algorithms (FRR) and other new features were added to the traditional IP routers. This new
Since IP/MPLS allows recovering from a failure in about 50ms, capital savings may come from the elimination of the intermediate SDH layer. Another improvement of this technology is that the number of paths to route demands between nodes is not pre-bounded; so it might exist in fact a feasible different configuration for most failure scenarios. Since IP/MPLS allows the elimination of an intermediate layer, manages Internet traffic natively, and makes possible a much easier and cheaper operation for virtual private network (VPN) services, it is gaining relative importance every day.
Setting aside technical details and for the purpose of the model presented in this work, we remark two important differences between SDH and IP/MPLS. The first one is the need of SDH to keep different demands between the same nodes. In IP/MPLS networks, all the traffic from one node to another follows the same path in the network referred to as
In this paper we address the problem of finding the optimal -minimum cost- configuration of a logical topology over a fixed physical layer. The input data set is constituted by: the physical layer topology -DWDM network-, the client nodes of the logical layer -IP/MPLS nodes- and the potential links between them, as well as the traffic demand to satisfy between each pair of nodes and the per-distance-cost in the physical network associated with the bitrates of the lightpaths to deploy over it. The decision variables are: what logical links do we have to implement, which bitrate must be assigned to each of them and what path do these lightpaths have to follow in the physical layer. For being a feasible solution a configuration must be capable of routing every traffic demand over the remaining active links of the logical layer for every single physical link failure scenario.
The problem previously described is NP-hard and due to its complexity we developed a metaheuristic based on GRASP to find good quality solutions for real size scenarios. Actually, we analysed the performance of the proposed metaheuristic using real-world scenarios provided by the Uruguayan national telecommunications company (ANTEL).
The main contributions of this article are: i) a model to represent a common network overlay design problem; ii) the design of a GRASP metaheuristic to find good quality solutions for this model; iii) the experimental evaluation based on real-world network scenarios.
The remaining of this document is organized as follows. A mixed-integer programming model will be presented in Section-2. In Section-3 we will show some exact solutions found with CPLEX for small/simple but illustrative problems; in this section we also analyze the intrinsic complexity of the problem. In Section-4 a GRASP metaheuristic to solve this problem is presented. Finally, in Section-5 we will show the solutions found with the previous metaheuristic for real-world network scenarios.
2. Mathematical model
We will now introduce the basic mixed-integer programming model that arises from the detailed interaction of technologies.
The physical network is represented by an undirected graph , and the logical network is represented by another undirected graph . Both layers share the same set of nodes. The links of the logical layer are potential -admissible logical links- while the links of the physical layer are definite. In both graphs the edges are simple since multigraphs are not allowed in this model.
For every different pair of nodes is known the traffic volume to fulfil along the unique path (tunnel) this traffic follows throughout a logical layer configuration.
These paths are unique at every moment, but in case of link failures they may change to follow an alternate route. For simplicity we assume that the traffic volume is symmetric (i.e. ). Let be the set of possible bitrate capacities for the lightpaths on the physical layer and therefore for the links of the logical one. Every capacity has a known per-distance cost . For economies of scale reasons it holds that if then . Since both graphs of this model are simple and undirected, we will express links as pairs of nodes. For every physical link is known its length .
This model comprises three classes of variables. The first class is composed of the logical link capacity variables. We will use boolean variables to indicate whether or not the logical link has been assigned with the capacity . As a consequence the capacity of the link could be computed as: .
The second class of variables determines how are going to be routed the logical links over the physical network. If then the logical link was assigned with a capacity, it is going to be used in the logical network and requires a lightpath in the physical one. is a boolean variable that indicates whether or not the physical link is being used to implement the lightpath of . Since lightpaths cannot automatically recover from a link failure, whenever a physical link fails all the logical links such that do fail as well. The only protection available in this model is that of the logical layer. For demands being protected against single physical link failures, it is necessary to have a feasible route through the remaining active logical links.
The third and final class of variables is that that determines how the IP/MPLS tunnels are going to be routed against any particular failure in the physical layer. is a boolean variable that indicates whether the logical link is going to be used or not, to route traffic demand , under a fault condition in the physical link .NOTE: To keep the nomenclature of the variables as easy as possible we always placed: logical links subindexes at bottom right position, physical links subindexes at top right position and demands subindexes at top left position.
This problem comprises three groups of constraints. The first group of constraints establishes the rules that the routes of the lightpaths must follow to be feasible.
The meaning of the previous constraints is the following: (1) establishes that the number of capacities assigned to every logical link is at most 1 -it could be 0 if the link is not going to be used-; (2) and (3) guarantee that if any particular link was assigned with a capacity () then there must exist one and only one outgoing -or incoming- physical link used for its lightpath.
Before going any further we have to introduce a set of auxiliary variables: and . These variables are defined for every combination of logical links and physical nodes . (5) guarantees that exactly one of the following conditions must meet: or . Hence, (4) guarantees flow balance for routing the lightpaths through the remaining -not terminal- nodes. Finally (6) guarantees that the lightpaths go back and forth through the same path, while (7) stands the integrity of the variables.
The second group of constraints establishes the rules that the routes of the IP/MPLS tunnels must follow in the logical layer and their meaning is similar to the previous ones except for (1) and (8). The inequalities in (8) were added to guarantee that whatever the failure scenario is (), its associated routing configuration over the logical network keeps the aggregated traffic load below the link capacity for every data link (). Constrains (2) and (3) are equivalent to (9) and (10), except for the fact that in the latter the existence of a tunnel relies on the existence of demand and this is known in advance. Another remarkable point is that the second group of constraints has as many possible routing scenarios as arcs in , so the number of variables is much greater.
Variables sets and are homologous to and ; so are constraints from (4) to (7) with those from (11) to (14). Before proceeding any further we must notice that both groups are not independent. Many logical links may not be available for routing after a physical link failure. Which logical links are in this condition, relies on how the lightpaths were routed in the physical layer. Specifically, if some logical link uses a physical link for its lightpath implementation then this logical link cannot be used to route any tunnel under failure scenario.
The group of constrains (15) prevents from using to route any traffic (,) in any failure scenario which affects the link (when ).
The function to minimize is the sum of the cost of every logical link. According on what capacity was assigned to a logical link there is an associated per-distance-cost (), and according on how the corresponding lightpath was routed over the physical layer there is an associated length (). The product of both terms is the cost of a particular logical link and the sum of these products for all of the logical links is the total cost of the solution. The direct arithmetic expression for the previous statement would be: .
Although straightforward, this approximation is inappropriate because it is not linear. The following sub-problem expresses the objective value with an equivalent linear expression.
We used the real variable instead of and added some extra constraints to guarantee the consistency. This consistency comes from the following observations: the result of is also a boolean variable, and since is being multiplied by a positive constant in a minimization problem it will take its lowest value whenever this is possible. This value would be zero because of constrains (3) of (D).
The only exception is when the values of and are both 1, in which case the value of should be 1 as well to keep consistency. This is guaranteed by constrain (17). The complete MIP is the result of merging (1) to (18).
3. Finding exact solutions
We will start by showing particular solutions for some simple example cases. The first example has four nodes , the physical layer is the cycle () while the logical layer is the clique (). The remaining parameters are: , and . is irrelevant in this case because there is only one bitrate available. The optimal solution found for this case uses all of the logical links. Figure 1 shows with dashed lines the route in that solution followed for each lightpath over the physical cycle. This is an example where lightpaths routes are not intuitive, even for a very simple input data set.
The following example comprises seven nodes and explores again the clique-over-cycle case. The remaining parameters are analogous: , , except for demands that in this case are to/from one single node (,). Unlike the previous example, the optimal solution in this case (also sketched in Figure 1) does not make use of all the logical links. Although the route followed by each lightpath looks more natural in this example, it is not immediate why this set of logical links ought to be the appropriate to construct the optimal solution.
Through these two examples we attempted to show that solutions are not intuitive even for very simple cases. To find optimal solutions we used ILOG CPLEX v12.1. All computations were performed on a Linux machine with an INTEL CORE i3 Processor and 4GB of DDR3 RAM. Table 1 shows information for several test instances analogous to those represented in Figure 1, that is: over with , and over a range of integer values ().
|5||2 – 6||1230||1640||00:00:00 – 000:00:11|
|6||3 – 9||3390||4035||00:00:02 – 000:19:31|
|7||2 – 12||7896||8652||(*) 00:00:05 – 087:19:05|
|8||3 – 16||16296||16772||(*) 00:00:02 – 100:10:17|
We proved that: it is always possible to find minimal feasible solutions for these particular topologies and demands when: and is odd, or when and is even. In the first situation the complete logical graph is needed, whereas in the second only diagonal links can be disposed of. The lowest computation times were found for these extreme cases.
We also proved that: the cycle configuration for the logical network -the simplest possible- is feasible for every greater or equal to: when is even, or when is odd. Very low computation times were found for these cases also. The time required for finding optimal solutions for non-extreme cases were much higher. CPLEX even aborted for many of them. Aside from a bunch of worthless exceptions, we couldn't find solutions for topologies other than over .
Keeping these physical and logical topologies while trying with simpler matrices of demand (e.g. ,) it was possible to increase the size of the problems to 15 nodes and yet being able to find optimal solutions. Suffices to say this size bound as well as the simplicity in the topologies and traffic matrices of the previous examples, are incompatible with real life network problems.
Demonstration lies under reduction of NPP (Number Partitioning Problem) to our particular problem that will be referred to as MORNP (Multi-Overlay Robust Network Problem) within this proof. NPP problem consist in finding two subsets with the same sum for a known multiset of numbers. Formally: given a list of positive integers: , a partition must be found so that discrepancy:
finds its minimum value within the set . NPP is a very well known NP-Complete problem (see for instance ).
Given such a list of positive integers we create an instance of MORNP by taking: , logical and physical graphs with the same topology schematized in Figure 2, and ,.
Since logical and physical topologies are the same and all distances are equal, the logical layer projected over the physical one for any optimal solution must copy the underlying shape. So, if there exists a solution for such an instance of MORNP, this solution should have a feasible routing scenario when transport -and logical- link fails and therefore a way to accommodate traffic requirements over and , due to the fact that both links are still in operational state and they are the only way to reach .
Because there is only one capacity both links must have been assigned with , this can only be done when discrepancy is not grater than one, so we indirectly found a solution for the original NPP problem.
The complementary part of the proof is easier. Given a solution to an instance of NPP, this partition is used to distribute tunnels between and . Once in or the tunnel is terminated directly in the corresponding node, except for some fault condition in one of these links, in which case a detour through the other node is always possible. When the fault condition arises in or , a detour may be taken through: or .
Since all the transformation are of polynomial complexity it stands that and MORNP is NP-Hard.
We proved the complexity of MORNP is intrinsic to the problem, since it is NP-Hard. Because of the previous result and like for most other network design problems, an exhaustive search for the optimal solution of the problem presented in this work is infeasible for real size problems.
We decided to use a metaheuristic algorithm based on GRASP to find good quality solutions for real instances of this problem. A very high level diagram of our algorithm is shown in Figure 3.
4.1. GRASP implementation
As for every GRASP implementation this algorithm has a loop with two phases. The
4.2. Construction phase
Instead of using the real distances of the physical links (), from this point on and until the next iteration pseudo-distances: will be used. Prior to start routing lightpaths, all these pseudo-distances are set to 1.
According to these new weights, logical links are routed following the minimal distance without repeating physical links among them. Usually, after routing some lightpaths the set of not-yet-used physical links empties, and it is necessary to start over a new
For instance, let us guess our networks are like those sketched in Figure 4 and the links drawn are: and so on. The left half of Figure 4 shows with red and blue lines how are routed the lightpaths and . At this point we need to update the pseudo-distances and restart the window. If and since , then for the next window.
The next two logical links are and . They are routed using the updated values. Their lightpaths are also represented with green and magenta lines in the right half of Figure 4. The link is the following and it can be routed in two hops. A window restart is necessary to route the lightpath of , as it can be seen in Figure 5.
The elements of the input data in Algorithm-1 are: the logical graph , the physical graph , the minimum distance over the physical layer to connect each pair of nodes -computed in the
The algorithm detailed in Algorithm-1 is the one depicted in Figure 4 and Figure 5. The outcome of the randomized feasible solution phase is a candidate configuration for the route of each lightpath over the physical network. We did not make use of capacity and traffic information yet; and before going any further we must state that -as in the exact examples- in our practical applications we limited the capacities set to only one capacity ().
The main reason was that the telecommunications company we developed this application for, wanted the maximum possible bitrate for all the interfaces of its core network. The next issue is determining whether the configuration found is feasible or not. The answer to this question is far from being easy, since this sub-problem is NP-Complete. We have based on a heuristic to answer this question. The heuristic is the following: demands are taken in decreasing order of volume () and each tunnel is routed over the logical layer following the minimal number of hops, but using only links with remaining capacity to allocate the new tunnel demand.
For instance, Figure 6 shows an example logical topology whose link capacities are 3. Let the demands be: , , and . The path followed by every tunnel is sketched in Figure 6 using: violet, orange, red, and green curves respectively; so it is the remaining capacity in every link after routing each tunnel -two tunnels in the central image-.
This constraint based routing algorithm is straightforward and it is based on Dijkstra's algorithm. Nevertheless an efficient implementation is quite complicated because of the following fact: to be sure a solution is feasible this algorithm must be repeated for each single failure scenario. In order to improve the efficiency: routes cache, optimized data structures and several others low-level programming techniques were used. This isFeasible function is used in both: construction and local search phases. The performance of this function is critic since it is used several times within the same iteration in the local search, as it is represented in Figure 3. Up to this point and before entering the local search phase, we have a feasible configuration for the routes of every lightpath; but we are still using all of the initial logical links and this input network is very likely to be over-sized. Moreover, in the construction phase we attempted to distribute the routes of the lightpaths uniformly over the physical layer, but it is still possible that many logical links fail simultaneously because of a single physical link failure. Therefore, it is very likely that many of these “redundant links” may be disposed of, if they are not really adding useful capacity. It is worth mentioning that from this point on and until the next iteration, lightpaths costs are revealed because we have their lengths -from the configuration for their routes- and there is only one possible capacity.
4.3. Local search
Through the local search phase we intend to remove the most expensive and unnecessary logical links for the current configuration. The process is the following: logical links are taken in decreasing order of cost for their lightpaths, each one is removed and the feasibility of the solution is tested again. If the solution remains feasible the current logical link is permanently removed, otherwise it is reinserted and the sequence follows for the remaining logical links. Once this processes is finished the result is a minimal solution. After iterations the best solution found is chosen to be the output of the algorithm. Since the construction procedure we have used in this work privileges the nodes drawn earlier to shape the routes of the lightpaths, we presume that adding path-relinking to this algorithm could significantly improve the quality of the result, if the initial lightpaths routes of the elite solutions are prioritized to explore new solutions. We are planning to check this assumption in a future work. For further information in path-relinking enhancement to GRASP, please refer to:  and .
5. Application case context and results
We will focus now in the context of ANTEL -the telecommunication company we applied this metaheuristic to-. Prior to doing so we are giving some basic elements of the overall Internet architecture. Internet is actually a network that could be disaggregated into several separate smaller networks also known as
This company had two different IP/MPLS networks referred to as:
There are four independent paths for international connections -leased to Carriers- between the NAP and the national boundaries. The
Several planning concerns arose from the situation exposed: Is it convenient the current architecture? Or it would be better to merge both IP/MPLS networks? Are profitable the IT infrastructure investments necessary to increase the percentage of local content? Which would be the optimal network to fulfil every demand requirements scenario? We helped to answer these questions by identifying representative scenarios and creating their associated data sets to feed the metaheuristic.
The overall performance of the algorithm described in Section-4 was very good -under the two hours of execution time in every scenario-.
We tried several scenarios based on the following considerations: traffic volume, network architecture and the percentage of locally terminated traffic. We selected eight remarkable scenarios to detail in Table 2.
According on traffic forecasts it is expected that some years from now the total volume of traffic to be placed somewhere between 57 and 100 (reference values). If some IT investments and agreements were made it is expected that the percentage of locally terminated traffic (national traffic) could be greater (High). These new potential sources of traffic would be placed in the Capital City, specifically in the same POPs where the public Internet network is present. Those scenarios where merged networks is set to False inherit the current network architecture.
Another remarkable aspect of this architecture is that whereas the aggregation network is deployed directly over the physical layer, there is an extra SDH layer between the public Internet network and the physical one. Since the public Internet network only has a few nodes and its protection relies on the 1+1 protection mechanism of SDH, its optimal value can be estimated easily. The only portion where we needed computer assistance is that of the aggregation network. The columns number of nodes and required lightpaths refers exclusively to the values for this last network.
On the other hand and in order to compare solutions fairly, the column
Less intuitive are those savings arising exclusively from the merging of both networks like: 1 and 2, 3 and 4, and so on. The reason is the following: “the routing search-space of the IP/MPLS technology is much greater than that of the SDH equivalent, so it is much more efficient”. For simplicity let us guess for a while that traffic does not need to be fitted in tunnels and instead can behave as a fluid. Since the length of international connections is measured in thousands of kilometres, this links are the most expensive of the physical network. As it was showed in Figure 7 there are four independent connections to the NAP; hence if we needed to guarantee 60Gbps of international traffic we could reserve 20Gbps in every one of these links, because a single failure could only affect one of them. Therefore the efficiency in the usage of international connections could rise to 75% if the efficiency of IP/MPLS would be available. The protection mechanism of SDH (1+1) cannot exploit this degree of connectivity. To protect 60Gbps of traffic using SDH active/stand-by independent paths, we always need other 60Gbps of reserved capacity, so the efficiency of SDH it is limited to 50%. The improved efficiency of IP/MPLS to exploit the extra connectivity degree between local and international traffic explains by itself most of the savings.
Perhaps the most remarkable result of this work relies on exposing through a real-world application, how much more cost-efficient could be networks deployed using IP/MPLS, than those based on traditional protection schemes like SDH. This efficiency comes not only from the savings linked to the elimination of an intermediate layer, but also from the extra degrees of freedom available to route the traffic.
We presume that the application this work dealt with is not an exception, and the potential savings might replicate from one ISP to the other. The results for the examples of Section-5 and their later analysis justify the convenience to update network design models this work introduced, in order to follow the new technology trends and exploit their benefits.
Regarding on the metaheuristic, we presume that applying path-relinking could significantly increase the computational efficiency of the proposed GRASP, so this is the line of our immediate future work.