Skip to main content
Log in

A compact mixed integer linear formulation for safe set problems

  • Original Paper
  • Published:
Optimization Letters Aims and scope Submit manuscript

Abstract

The Safe Set Problem is a type of partitioning problem with particular constraints on the weight of adjacent partition components. Several theoretical results exist in the literature along with a mixed integer linear formulation. We propose a new, more compact, Mixed Integer Linear Program for the (Weighted) Safe Set Problem and Connected Safe Set Problem with a polynomial number of variables and constraints, based on a flow from an additional fictitious node. The model is enriched by symmetry-breaking considerations and a variable reduction subproblem. We test the model on a benchmark of small instances which underline the difficulty of solving the Safe Set Problem through mathematical programming approaches. We also compare it with the only existing formulation in the literature and find that our approach is usually more efficient on a set of benchmark instances.

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

Similar content being viewed by others

Notes

  1. Such a value for the number of connected components of \(G[V{\setminus } S^*]\) can be obtained when G is a star graph.

References

  1. Águeda, R., Cohen, N., Fujita, S., Legay, S., Manoussakis, S., Matsui, Y., Montero, L., Naserasr, R., Ono, H., Otachi, Y., Sakuma, T., Tuza, Z., Xu, R.: Safe sets in graphs: graph classes and structural parameters. J. Comb. Optim. 36(4), 1221–1242 (2018)

    Article  MathSciNet  Google Scholar 

  2. Aringhieri, R., Grosso, A., Hosteins, P.: A Genetic Algorithm for a class of Critical Node Problems. In: The 7th International Network Optimization Conference (INOC’15), volume 52 of Electronic Notes in Discrete Mathematics, pp. 359–366 (2016)

  3. Aringhieri, R., Grosso, A., Hosteins, P., Scatamacchia, R.: A general evolutionary framework for different classes of critical node problems. Eng. Appl. Artif. Intell. 55, 128–145 (2016)

    Article  Google Scholar 

  4. Aringhieri, R., Grosso, A., Hosteins, P., Scatamacchia, R.: Local search metaheuristics for the critical node problem. Networks 67(3), 209–221 (2016)

    Article  Google Scholar 

  5. Arulselvan, A., Commander, C.W., Elefteriadou, L., Pardalos, P.M.: Detecting critical nodes in sparse graphs. Comput. Oper. Res. 36(7), 2193–2200 (2009)

    Article  MathSciNet  Google Scholar 

  6. Balas, E., de Souza, C.C.: The vertex separator problem: a polyhedral investigation. Math. Program. Ser. A 103(6), 583–608 (2005)

    Article  MathSciNet  Google Scholar 

  7. Bapat, R.B., Fujita, S., Legay, S., Manoussakis, Y., Matsui, Y., Sakuma, T., Tuza, Z.: Network majority on tree topological network. Electron. Notes Discrete Math. 54, 79–84 (2016)

    Article  Google Scholar 

  8. Bapat, R.B., Fujita, S., Legay, S., Manoussakis, Y., Matsui, Y., Sakuma, T., Tuza, Z.: Safe sets, network majority on weighted trees. Networks 71(1), 81–92 (2018)

    Article  MathSciNet  Google Scholar 

  9. Ben-Ameur, W., Mohamed-Sidi, M.-A., Neto, J.: The k-separator problem: polyhedra, complexity and approximation results. J. Comb. Optim. 29(1), 276–307 (2015)

    Article  MathSciNet  Google Scholar 

  10. Codato, G., Fischetti, M.: Combinatorial Benders’ cuts for mixed-integer linear programming. Oper. Res. 54(4), 756–766 (2006)

    Article  MathSciNet  Google Scholar 

  11. Cornaz, D., Furini, F., Lacroix, M., Malaguti, E., Mahjoub, A.R., Martin, S.: The vertex k-cut problem. Discrete Optim. 31, 8–28 (2019)

    Article  MathSciNet  Google Scholar 

  12. Dinh, T.N., Shen, Y., Nguyen, D.T., Thai, M.T.: On the approximability of positive influence dominating set in social networks. J. Comb. Optim. 27(3), 487–503 (2014)

    Article  MathSciNet  Google Scholar 

  13. Fujita, S., MacGillivray, G., Sakuma, T.: Safe set problem on graphs. Discrete Appl. Math. 215, 106–111 (2016)

    Article  MathSciNet  Google Scholar 

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

    MATH  Google Scholar 

  15. Lalou, M., Tahraoui, M.A., Kheddouci, H.: The critical node detection problem in networks: a survey. Comput. Sci. Rev. 28, 92–117 (2018)

    Article  MathSciNet  Google Scholar 

  16. Macambira, A.F.U., Simonetti, L., Barbalho, H., Gonzalez, P.H., Maculan, N.: A new formulation for the safe set problem on graphs. Comput. Oper. Res. 111, 346–356 (2019)

    Article  MathSciNet  Google Scholar 

  17. Shen, S., Smith, J.C., Goli, R.: Exact interdiction models and algorithms for disconnecting networks via node deletions. Discrete Optim. 9(3), 172–188 (2012)

    Article  MathSciNet  Google Scholar 

  18. Simonetti, L., da Cunha, A.S., Lucena, A.: The minimum connected dominating set problem: formulation, valid inequalities and a branch-and-cut algorithm. In: Pahl, J., Reiners, T., Voß, S. (eds.) Network Optimization, pp. 162–169. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  19. Ventresca, M.: Global search algorithms using a combinatorial unranking-based problem representation for the critical node detection problem. Comput. Oper. Res. 39(11), 2763–2775 (2012)

    Article  MathSciNet  Google Scholar 

  20. Veremyev, A., Prokopyev, O.A., Pasiliao, E.L.: An integer programming framework for critical elements detection in graphs. J. Comb. Optim. 28, 233–273 (2014)

    Article  MathSciNet  Google Scholar 

  21. Wang, F., Camacho, E., Xu, K.: Positive influence dominating set in online social networks. In: Du, D.-Z., Hu, X., Pardalos, P.M. (eds.) Combinatorial Optimization and Applications, pp. 313–321. Springer, Berlin (2009)

    Chapter  Google Scholar 

  22. Watts, D.J., Strogatz, S.H.: Collective dynamics of ‘small-world’ networks. Nature 393, 400–442 (1998)

    Article  Google Scholar 

  23. Zhou, Y., Hao, J.-K., Glover, F.: Memetic search for identifying critical nodes in sparse graphs. IEEE Trans. Cybern. 49(10), 3699–3712 (2019)

    Article  Google Scholar 

Download references

Acknowledgements

I would like to thank Rosario Scatamacchia for sharing C++ code useful for generating the benchmark instances and for fruitful discussions, as well as the constructive and detailed comments of three anonymous referees which greatly helped enhance the manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pierre Hosteins.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendices

Appendix A: Results over small world networks

In this appendix we present detailed results over small networks generated through the mechanism described in [22]. These networks typically have a small diameter and represent social networks fairly well. They are known to be notoriously difficult to solve for some partitioning problems, such as [4, 23]. We generated instances with a number of nodes in the set \(n\in \{20,25,30,35,40\}\) as in Sect. 4. The parameters needed to generate small world graphs are the average number of neighbours k and a rewiring probability of edges which we choose as \(p=0.05\), similar to [19]. We vary parameter \(k\in \{4,6,8,10\}\) to obtain instances with different characteristics and generate five instances for each value of n and k. The different average coefficients over those sets of five instances are displayed in Table 5 in a manner similar to Table 1, except for the additional column \(\bar{\delta }_e\) which represents the average density of the instances. We can clearly see that the clustering coefficient is usually much larger for small world graphs while the ratio of the dispersion (standard deviation) in the nodes degree over the average degree (last column) is much smaller, denoting the fact that two different nodes tend to have similar degree in a small world graph.

Table 5 Average characteristics for the sets of five instances, for the small world graphs
Table 6 Average results for the unweighted SSP over sets of five instances of small world graphs for parameter \(k=4\) and \(k=10\) and number of nodes n

As for the results in Sect. 4, we first display the effect of the MILP improvements for small world graphs in Table 6, for unweighted instances with parameter \(k=4\) and \(k=10\). The results are similar to those of Sect. 4, in the sense that instances which are less dense tend to profit from the MILP improvements while denser instances are not solved faster on average, while there even are instance sizes where the improvements slightly worsen the performance of the model. This underlines the dependency of the performance of said improvements on the graph topology.

We display in Tables 7 and 8 the results of model \(\mathcal {M}_{SS}\) with symmetry breaking constraints (40) and the variable reduction preprocessing on small world graphs, similar to Sect. 4. The SSP is still very hard to solve for such instances, even for very small graphs. As for random graphs, we can see that instances with a larger k parameter (and hence with a larger edge density) are usually easier to solve. Contrary to Sect. 4, however, no instance with 40 nodes is ever solved to optimality since the density for such instances do not even reach density 0.3 or 0.4, even with \(k=10\).

Table 7 Average results of model \(\mathcal {M}_{SS}\) with symmetry breaking constraints (40) and the variable reduction preprocessing for the SSP, over sets of five instances for small world graphs, for each average number of neighbours k and graph size n
Table 8 Results of model \(\mathcal {M}_{SS}\) with symmetry breaking constraints (40) and the variable reduction preprocessing for the Connected SSP on small world graphs, both unweighted and weighted

Appendix B Comparison with the model of [16]

We compare in the following results of our model \(\mathcal {M}_{SS}\) with those of the MILP approach in [16] on a set of benchmark instances they introduced. As discussed in Sect. 1, the algorithm advocated in [16] is a branch-and-cut algorithm based on a model with an exponential number of constraints, implemented as lazy constraints. The results of both models are reported in Table 9 for unweighted instances of SSP and in Table 10 for weighted instances. The instances range from 10 to 30 nodes with densities 0.3, 0.5 and 0.7. We report the upper bound (UB) and running time of both models. For the model of [16], when the running time is 7200 s, the algorithm reached its time limit and the instance is not solved at optimality, however the LB was not reported.

Table 9 UB and running time for the benchmark instances of [16] for unweighted instances with densities 0.3, 0.5 and 0.7, for model \(\mathcal {M}_{SS}\) with improvements and the branch-and-cut algorithm of [16]
Table 10 UB and running time for the benchmark instances of [16] for weighted instances with densities 0.3, 0.5 and 0.7, for model \(\mathcal {M}_{SS}\) with improvements and the branch-and-cut algorithm of [16]

The results for the model of [16] are those reported in the tables of [16]. Even though those results were obtained on a different computer and using a somewhat different framework (e.g., we make use of the heuristics of CPLEX, while [16] does not), we believe the important quantitative differences in the running times of both models is enough to assert the relative computational efficiency of our approach. Indeed, in most instances with 20 nodes or more, model \(\mathcal {M}_{SS}\) closes the instances at least ten times faster. On the smallest instances, and contrary to the numerical analysis in Sect. 4 and Appendix A, \(\mathcal {M}_{SS}\) does not always solve denser instances faster for a given graph size. The same pattern, however, can be seen again on the largest unweighted instances. The results confirm that model \(\mathcal {M}_{SS}\) (with MILP improvements) is able to solve instances of up to 30 nodes without problem.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hosteins, P. A compact mixed integer linear formulation for safe set problems. Optim Lett 14, 2127–2148 (2020). https://doi.org/10.1007/s11590-020-01540-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11590-020-01540-z

Keywords

Navigation