• Keine Ergebnisse gefunden

Comparison of Described Methods

In this section, we present a comparison of the described formulations based on computa-tional tests. Furthermore, we analyze the impact of particular “components” to each of the formulations. These components consist of the node-label-inequalities3.22, the extended node-label-inequalities3.23, the strong linkage of the edges to the edges3.21, which can, however, only be used if only one label is assigned to the edges and the number of edges is not fixed by3.5. Table1provides an overview of these components and corresponding notation.

After the comprehensive analysis and comparison of the particular methods in this section, we compare the results of the newly proposed methods to previous work in Section4.4.

4.3.1. MIP Formulations

In this section, we primarily focus on the comparison of formulations EC, DCut and SCF.

However, particularities like node-label-constraints3.22, or fixed number of edges3.5, or the direct linkage of labels to edges3.21, may significantly change the picture regarding the superiority of one method over another one. For this reason, we present the results not only

Table10:Comparisonofbestformulationsusedwithoutandwithprimalheuristics,thatis,MVCAandACO. |L|1/4·|E||L|3/4·|E| dalgcntoptobjtbbncutscntoptobjtbbncuts ECtn101019.6144944448610251.25760163875182801 0.05ECsn101019.61131396610055.57200133833151889 DCuttn101019.612114875910649.831958715260318 DCutsn101019.610133689510649.831958715260318 ECtnMVCA101019.6125474486610251.35771145352166307 ECsnMVCA101019.621635125510052.37200137776154933 DCuttnMVCA101019.611105671410649.829025728241009 DCutsnMVCA101019.612153099310050.47200371927343330 ECtnACO101019.612442539168449.63600107155110775 ECsnACO101019.62133997810049.97200134930151941 DCuttnACO101019.6109376279449.840197450652846 DCutsnACO101019.611130382810050.47200371927343330 ECtn101014.8344363861674510237.16450120465121687 0.2ECsn10414.848942311489506210039.272006516763256 DCuttn101014.883513677869810735.824323609927852 DCutsn101014.883513677869810038.072008864573235 ECtnMVCA101014.8767524962853110236.96004120042120862 ECsnMVCA10414.849042122228987310038.772006330860554 DCuttnMVCA101014.879912503828410835.721693421925835 DCutsnMVCA10115.57067726585489410038.172008257567712 ECtnACO101014.834531157143139536.041356736266292 ECsnACO10314.953232282739441010036.172006434060405 DCuttnACO101014.86401103471499635.825243556026632 DCutsnACO10215.06977807255492510036.272008355369016 ECtn9813.21400341061876910431.050385960557375 0.5ECsn10013.772002967828896210033.872006343064801 DCuttn10513.545579195854310730.23552123379780 DCutsn10014.4720012834815410730.23552123379780 ECtnMVCA10813.31991404402399510530.542745320250948 ECsnMVCA10013.772002798957963310032.472006702666888 DCuttnMVCA10713.333216462585210930.0272884797236 DCutsnMVCA10014.3720011154722410032.272001487810082 ECtnACO9713.3226144962257186231.354196148159297 ECsnACO10013.772003453588005410031.172006446963099 DCuttnACO10713.43534765969338530.53374105778304 DCutsnACO10013.8720012035731910031.27200139199175

for three formulations, but rather four to five variants of each formulation. Recall, that directly linking the labels to edges by3.21is only possible for instances with one label assigned to each edge3.21, that is,a1 and is generally not possible for flow-formulations. In order not to be biased towards some particular class of instances, we report these results for each of the three instance sets.

Tables2and 3show the results for instances of SET-I with|V| 100 and|V| 200.

These instances include graphs with various densitiesd ∈ {0.2,0.5,0.8}, where |E| d·

|V| · |V| −1/2, and different numbers of labels, that is,|L| 1/2· |V|, |L| |V|, and

|L| 5/4 · |V|. In these tables, as well as in the following ones, we report the following entities for each method and group of instances. Columns “cnt” contain the number of instances within each group, which is 10 in most of the cases. The reason for less than ten instances reported is not being able to finish some instances with particular formulations due to high memory requirements. Columns “opt” report the number of instances that have been solved and proved to be optimal within the time limit. In columns “obj” the average objective value for all instances in the group is reported. If all instances have not been solved to optimality, this value corresponds to the average value of feasible solutions that have been found within the timelimit. Average running times in seconds are then reported in columns

“t”. The average number of branch-and-bound nodes is listed in columns “bbn”, the average number of generated cuts in column “cuts”. Results of the fastest methodsfor each group are emphasized with bold letters.

From Tables 2 and 3 we can already observe that the difficulty of solving these instances is strongly correlated to the objective function values of the instances. Higher values, in particular those larger than ten, require significantly more B&B-nodes, and the separation of more cuts. This also implies longer average running times. This property holds for all of the considered formulations. The results in Tables2and3 show that formulation ECsn consistently gives the best results for these instances. The single-commodity flow formulations show a slightly better performance than the directed-cut formulations for most of the instances.

The strength of the node-label-inequalities3.22is also demonstrated by the results in Tables2and3. Their addition to the plain formulations does not only yield a significant speedup, but also enables to solve more instances regarding the set with |V| 200. The difference between Inequalities3.22and their extended form, given by Inequalities3.23is examined in Section4.3.2. Regarding Equation3.5no clear conclusion can be drawn from these instances. If, however, combinations of these components are considered, the variants only using the node-label-constraints are superior in most of the cases. For formulations EC and DCut it is also possible to directly link the edges to the labels by3.21. In most of the cases, this yields the best results, when combined with the node-label-inequalities for both formulations, and in particular in combination with EC the overall best results.

Table4reports the results for the same formulations for the instances of SET-II. These instances have the major difference to contain only graphs of extremely low density dand just very few labels. Again, we can observe a clear superiority of formulations ECsn and ECn, which are able to solve all these instances with average running times of less than half second.

In Tables5,6, and7, results for the instances from SET-III are reported. Table5shows the results for instances with|V| 100 anda 1, that is, one single label assigned to the edges. As already mentioned in Section4.1, this instances differ from the previous ones in the way that they contain a higher number of labels, that is,r1/4 andr3/4 withr|L|/|E|.

It can be observed that it is beneficial to limit the number of edges to|V|−1 by3.5in this case.

Thus, the stronger LP-relaxation implied by this restriction is beneficial in the case of higher values ofr. For instances withr 1/4 formulation EC still shows the best performance, but DCut provides better results in the case ofr 3/4. Hence, the strong LP-relaxation becomes even more important if|L|is in the same order of magnitude as|E|.

With a single exception, the same effect can be observed for the instances witha ∈ {2,5}reported in Table6. The effect of more than one label being assigned to the edges seems to make the problem easier to solve, but the effect is relatively small. It is important to note, that directly linking the labels to the edges, which was beneficial for the instances witha1, cannot be applied to instances with largera.

Table7shows the result for grid-graphs with 100 and 400 nodes and|L| ∈ {30,50,80}.

The average optimal objective value on these graphs is relatively high, which makes them difficult to solve. However, all instances with|L| ∈ {30,50}could be solved to optimality by formulation ECsn, which showed the overall best performance on this class of instances.

Having now analyzed the main variations of the discussed formulations we draw our attention to further approaches and enhancements that have been proposed in Section3.

4.3.2. Further Methods

In Section4.3.1the node-label-inequalities3.22have been shown to be of utter importance for a strong formulation. In Section 3.3we have also presented an extension of this idea, where two nodes are considered instead of just one. This led to the class of Inequalities3.23.

Table8shows a comparison of formulations ECt and DCutt with on the one hand the node-label-inequalities3.22and on the other hand additional Inequalities3.23. In particular for formulation ECt these further inequalities turn out to be useful in many cases. They do not only speedup the solution process, but moreover frequently enable to solve more instances to provable optimality. However, also the opposite is often the case. It is therefore not possible to decide which approach is superior over the other based on the available data. On grid-graphs Inequalities3.23have not been beneficial at all.

Further formulations, considered in Section3, are based on the property that a tree must not contain a cycle by definition. Formulation MTZtn requires just a polynomial number of variables, but contains constraints with infamous “Big-M” constants, as the SCF formulation does. On the contrary CEF contains an exponential number of Inequalities3.15, which need to be separated as cutting-planes as for the DCut or EC formulation. Due to their fast separation by a simple shortest-path computation, other formulations may benefit from additionally using cycle-elimination cuts. Corresponding results are reported in Table9, column “cec” lists the average number of separated cycle-elimination cuts. Whereas MTZtn and CEFtnshow a relatively weak performance on the instances withr 1/4, they provide good results in the case ofr3/4. In particular, for the low-density graphs CEFtncould solve all instances to optimality, which no other method was able to do. For the dense graphs best results are obtained by DCuttncand ECtnc.

Table 10 shows the results that have been obtained by including primal heuristics into the branch-and-bound algorithm. Formulations ECtn, ECsn, DCuttn, and DCutsn are considered for this purpose. As indicated by preliminary experiments it turned out to be advantageous only to use the primal heuristics in the root node, as they were generally not able to find improved solutions based on the information provided by the LP-solution in other B&B-nodes. Embedding MVCA in B&B has a positive effect w.r.t. the variants “tn” of formulations EC and DCut, but a negative impact concerning variants “ts”.

Table11:ComparisonofformulationsECtandDCuttwithandwithoutusingoddholeienqualities.Indexodenotesifoddholeinequalitiesareseparated, indexbindicatesthatoddholeinequalitieshavebeenusedtoinducebranchingoverrelatedlabelvariables. ECtn/DCuttnECtno/DCuttnoECtnob/DCuttnob |V|,|E|,a,|L|cntoptobjtbbncutsoptobjtbbncutsohoptobjtbbncutsoh 100,247,1,61101019.614494444861019.62556925141231019.6175226470119 101019.61211487591019.613116377211019.61311217331 100,247,1,18510251.25760163875182801251.25760144151159964194251.15760143562159321173 10649.831958715260318649.83214833475832211649.83197859976058513 100,900,1,247101014.834436386167451014.841737993182841341014.83433463915817120 101014.88351367786981014.889214659936411014.898715816101312 100,900,1,74210237.16450120465121687336.863771268191289241251236.760071192181196671308 10735.824323609927852735.82369347172634877735.82371337572608361 100,2475,1,61810813.214003410618769813.324994859928883174813.318203547921775138 10513.5455791958543713.54261830576159713.34318832277698 100,2475,1,185610431.050385960557375530.841335307952191709431.044995494554254614 10730.23552123379780930.028278780680951930.027788061689839 100,247,2,61101016.612470740801016.61451484496231016.6134987436320 101016.61611627871016.617116178801016.61611467751 100,247,2,18510735.0237510217993532635.13485137028125999272735.0243110259590520178 101034.761466136961034.7695073408181034.722175816304 100,900,2,247101011.96294205220637912.099748954228661371011.98574193321903129 101011.9681590651801011.98918242686861011.910008936773411 100,900,2,74210326.35242119550107358326.253951184831043411312426.34841107072945931220 10925.614892493117663925.61603241121803182925.61443238371680167 100,2475,2,618101010.95062246764321010.9748289179107441010.938817770368414 10511.25664118139786511.257361095894677611.157271115593168 100,2475,2,185610423.252136190853294123.864907452564822822223.562987225662059754 10522.8425988508481722.636427480707322822.534797831717320 100,247,5,61101010.503063591010.5030635911010.512673381 101010.551151341010.5511513401010.551151340 100,247,5,18510620.63467143690125295420.74461157779137051937620.63047116829103068673 101020.56984587025073920.5787438832492112920.5783451442557510 100,900,5,24710107.812812441651107.8134125216312107.8157137108623 10107.81628152229552107.815131507192221107.815401515393650 100,900,5,74210315.1514013998390176415.0483813275683094702415.0445812566578327651 10614.844064462832312514.94520458183317222514.94392444353226718 100,2475,5,61810106.92556604532106.925365815190106.926267015770 1067.150895318352967.0509255033685067.05093544736080 100,2475,5,185610613.034727258238165712.931326247333275255712.923435010624087158 10413.1574379347389313.36505889684209313.16213825977708 10×10,360,1,3010109.2416391544109.251427135010109.251427138411 10109.23418921710109.232168515105109.234171115766 10×10,360,1,509813.015788399667834813.015508111266089310912.96195490042488145 9912.93022059612907912.9387251421618023912.929819938122618 10×10,360,1,8010019.67200229619202787019.872002119031868851086019.572002115611888121102 10018.77200283625220940018.87200232626190432403019.07200223970188832381 20×20,1520,1,30101011.591375742311011.51073749431001011.5106379942490 101011.56274058109611011.575340281156701011.57054112112610 20×20,1520,1,50101017.03834212265107170917.0423220992310575532917.0432421000310738539 10017.072008617264236017.0720077221606036017.0720080453592444 20×20,1520,1,8010024.87200146616112030024.87200133250102086626024.97200131641101479577 10025.272004360444755025.27200392624170421025.27200394514295219

Table 12: Branch-and-cut-and-price results for a special class of instances containing many labels and isolated optima with a relatively low number of labels.

|V|,|E|, a,|L| Method cnt opt obj t bbn cuts priced

We now draw our attention to the odd hole inequalities. Within preliminary tests, we determined a tight timelimit of 10−3 seconds for solving the MIP 3.26–3.38 to show a generally good performance. Two algorithmic variants are considered for the results reported in Table11. The first version denoted with indexosimply adds the found valid cutting-planes to the MIP. Alternatively, the set of labels corresponding to the obtained odd hole

Table 13: Overview of all test instances from SET-I, SET-II, and SET-III and corresponding best

Set-II 1000 4000 5 ECseveral variants having same performance

10 ECseveral variants having same performance 20 ECseveral variants having same performance Set-III 100 0.05 1/4· |E| Several methods having same performance

3/4· |E| CEFtn

0.2 1/4· |E| ECtn

3/4· |E| DCuttnc

0.5 1/4· |E| ECtno

3/4· |E| ECtnc

0.05 1/4· |E| 2 ECseveral variants having same performance

3/4· |E| ECtnob, ECtnc

10×10 30 1 ECseveral variants having same performance

50 ECsnob

80 DCutsnobbest relaxation

20×20 30 ECsn, ECn

50 ECsn

80 DCuttnbest relaxation

Table 14: Running times in seconds reported in16, rounded to integers.

Table 15: Running times for instances that have been created according to specification from16. The first column lists the method for the corresponding row. In parenthesis the corresponding method from16is reported.

Table 16: Comparison to results reported in12for theA-algorithm. Columns MLSTECnlist the average total running times for each group of this particular MIP in seconds, columnsAlist the running times in secondsrounded to integersreported in12, at which the best solution was found.

|V| |L| d avg|LT| A MLSTECtn opt |V| |L| d avg|LT| A MLSTECtn opt

can also be used to deduce a branching rule. This was motivated by the observation that many lifted odd hole cutting planes, found by MIP3.26–3.38, were not strong enough to define facets w.r.t. the involved label variables. As a consequence, these variables remained fractional after the cutting-plane was added to the MIP. However, odd holes provide important information and references to situations where special configurations of label-variables artificially reduce the LP-relaxation. Hence it is likely that immediately branching over these variables may be beneficial. This is done by inserting all labels of the odd hole into a global queue, and always branch over such a variable unless the queue is empty. Indexob denotes this approach in Table11. Odd hole cuts are separated with lowest priority amongst the user-defined cutting-planes, and are only separated in levels of the B&B-tree which are multiples of ten.

The results in Table 11 show that the odd hole inequalities are beneficial in many cases, in particular when used to deduce branching rules from the corresponding label-variables. For instances from SET-I and SET-II, almost no odd holes have been found with the described parameter settings. For dense graphs it is less likely to find odd holes that are violated by the current LP-solution, as each node is incident to many edges. Hence|Lv|is in the same order of magnitude as|V|in the expected case. This implies many nonzero lifting coefficients in Inequalities 3.25, reducing the chance of finding a valid inequality that is actually violated by the current LP-solution. Hence, the separation of odd hole inequalities is most beneficial for sparse graphs. Also the number of labels compared to the number of edges has an impact on the efficiency of the odd hole separation. If the number of labels is relatively

low, the expected label frequency νl will be high. This implies high values for the lifting coefficientsγl, which in turn reduces the chance of finding violated odd hole inequalities. If, on the other hand, the number of edges is too high, odd holes are generally less likely to occur, as the setsLvLu, for all v, uVcan be expected to be very small or even empty.

4.3.4. Branch-and-Cut-and-Price

Additionally, using the column generation approach within the B&C framework, that is, branch-and-cut-and-priceBCPis only beneficial for a very special class of instances. For most of the instances almost all variables are priced in during the solution process. The computational overhead for solving the pricing problem and resolving the MIP implies significantly higher running times in this case. However, if the instances consist of a high number of labels, and have an optimal solution that is significantly lower than the average optimal solution value when assigning the labels to the edges randomly in the instance construction process, BCP shows a superior performance. To study this effect, special instances have been created containing single optima having a relatively low number of labels. The computational results for these instances are reported in Table12. In particular for the larger instances a clear superiority of the BCP approach w.r.t. the corresponding B&C algorithm can be observed. For this special class of instances, the percentage of created label variables is always less than 30% of the total number of labelsreported in column “priced”.

Although the importance of such instances may be quite limited for many purposes, the instances used for the data compression approach presented in 17 exhibit comparable properties. For the data-compression application presented therein, the BCP approach is thus a valuable and important mean for exactly solving large instances.

4.3.5. Summary

In Table13, we finally report the best method for each group of instances from the three instance sets. For this purpose, variations including primal heuristic and using cycle-elimination cut separation are also considered. In the case a variant including a primal heuristic yields the best performance, we additionally report the best method not using primal heuristics. Formulations ECsn and ECsnh are the best formulations for almost all instances of SET-I, with the primal heuristic often yielding small improvements. The same is true for the instances of SET-II, where almost all variations of formulation EC are able to solve the considered instances in less than a second. For SET-III formulation DCut is superior for many instances with|L|3/4· |E|, whereas EC is better for instances with|L|1/4· |E|.

In contrast to SET-I, it is beneficial to restrict the number of edges to|V| −1 as indicated with index “t”. Additionally separating cycle-elimination cuts frequently yields the overall best method, in particular for instances with|L| 3/4· |E|. Furthermore it can be observed that variants using separation of odd hole inequalities are frequently the overall best methods for this group.