Abstract
Combinatorial optimisation can be applied in a multitude of areas, and this article presents its application to the optimisation of LEGO constructions. Building LEGO constructions is an inherently combinatorial problem, with a large but finite number of possible brick combinations. The objective was to make an aesthetically pleasing construction which is cheap and is structurally stable. Through the application of an adaptive large neighbourhood search metaheuristic, in combination with a mixed integer programming model neighbourhood search procedure and a quadratic programming model ensuring static equilibrium, this article demonstrates how to optimise LEGO constructions with up to 77.000 brick positions.

























Similar content being viewed by others
Notes
Retrieved from www.brickset.com
We retrieved the 3D mesh of the giraffe from www.archive3d.net.
References
Gower R, Heydtmann A, Petersen H (1998) LEGO: automated model construction. Study Group Report (32nd European Study Group with Industry)
Kim JW, Kang KK, Lee JH (2014) Survey on automated LEGO assembly construction. In WSCG 2014 Conference on Computer Graphics, Visualization and Computer Vision, pp 89–96
Kollsker T (2020) Mathematical Models and Algorithms for Optimisation of the LEGO Construction Problem. PhD thesis, Technical University of Denmark
Funes P, Pollack J (1998) Evolutionary body building: Adaptive physical designs for robots. Artif Life 4(4):337–357
Waßmann M, Weicker K (2012) Maximum flow networks for stability analysis of LEGO® structures. In European Symposium on Algorithms, pp 813–824. Springer
Ziolo P, Kulesza K, Skorski M, Zajac M, Fraszczak M, Bulkowski M, Lyczek K, Piekart P, Pajak M, Kaczmarek K, Klimek A, Wiśniewska J, Demidowski T, Ociepka T (2012) Extensive study of the LEGO construction problem. Technical report, (Centre for Industrial Applications of Mathematics and Systems Engineering, Warsaw, Poland)
Luo SJ, Yue Y, Huang CK, Chung YH, Imai S, Nishita T, Chen BY (2015) Legolization: optimizing LEGO designs. ACM Trans Graph 34(6):222
Kollsker T, Malaguti E (2020) Models and algorithms for optimising two-dimensional LEGO constructions. Eur J Oper Res 289(1):270–284
Hancock D (1990) Rules of Bonding. In Brick Bonding: The Rules of Bonding and 100+ Advanced Craft Questions with Answers, pp 1–32. Macmillan Education UK
Bedford A (2005) The unofficial LEGO builder’s guide. No Starch Press
de Fréminville PDLP, Desaulniers G, Rousseau LM, Perron S (2015) A column generation heuristic for districting the price of a financial product. J Oper Res Soc 66(6):965–978
Pisinger D, Røpke S (2010) Large neighborhood search. In Handbook of metaheuristics, pp 399–419. Springer
van Zijl L, Smal E (2008) Cellular automata with cell clustering. In Automata, pp 425–441
Ono S, André A, Chang Y, Nakajima M (2013) LEGO builder: Automatic generation of LEGO assembly manual from 3D polygon model. ITE Trans Media Technol Appl 1(4):354–360
Testuz R, Schwartzburg Y, Pauly M (2013) Automatic generation of constructable brick sculptures. In Eurographics (Short Papers), pp 81–84
Hong JY, Way DL, Shih ZC, Tai WK, Chang CC (2016) Inner engraving for the creation of a balanced LEGO sculpture. Vis Comput 32(5):569–578
Kozaki T, Tedenuma H, Maekawa T (2016) Automatic generation of LEGO building instructions from multiple photographic images of real objects. Comput Aided Des 70:13–22
Stephenson B (2016) A multi-phase search approach to the LEGO construction problem. In Ninth Annual Symposium on Combinatorial Search
Lee SM, Kim JW, Myung H (2018) Split-and-merge-based genetic algorithm (sm-ga) for LEGO brick sculpture optimization. IEEE Access 6:40429–40438
Kovacs AA, Parragh SN, Doerner KF, Hartl RF (2012) Adaptive large neighborhood search for service technician routing and scheduling problems. J Sched 15(5):579–600
Adulyasak Y, Cordeau JF, Jans R (2012) Optimization-based adaptive large neighborhood search for the production routing problem. Transp Sci 48(1):20–45
de Castro Silva J, Soma N, Maculan N (2003) A greedy search for the three-dimensional bin packing problem: the packing static stability case. Int Trans Oper Res 10(2):141–153
Ramos AG, Oliveira JF, Lopes MP (2016) A physical packing sequence algorithm for the container loading problem with static mechanical equilibrium conditions. Int Trans Oper Res 23(1–2):215–238
Fleurent C, Glover F (1999) Improved constructive multistart strategies for the quadratic assignment problem using adaptive memory. INFORMS J Comput 11(2):198–204
Glover F (1986) Future paths for integer programming and links to artificial intelligence. Comput Oper Res 13(5):533–549
Funding
First author Torkil Kollsker studied as an Industrial Ph.D. student, funded by the Innovation Fund (DK), project number 5189-00095B. LEGO also funded part of the project. Second author, Associate Professor Thomas Stidsen, did not receive any external funding.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of Interest
The authors declare that they have no conflict of interest.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Kollsker, T., Stidsen, T.J.R. Optimisation and Static Equilibrium of Three-Dimensional LEGO Constructions. SN Oper. Res. Forum 2, 21 (2021). https://doi.org/10.1007/s43069-021-00062-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s43069-021-00062-3