Skip to main content
Log in

Quaternion-based formulations for volume maximisation problems

  • Published:
Save article
View saved research
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

This paper introduces a mathematical formulation for the problem of determining the optimal position for a three-dimensional item inside a convex container, where its scale can be increased the most and thus its volume maximised. Until now, no methods have been presented that guarantee optimal solutions to this volume maximisation problem while considering continuous free rotation of the item, with approaches relying on heuristics, approximations or enforcing a discrete number of rotations. We aim to find optimal solutions when considering continuous rotation, represented using quaternions. This enables modelling rotation through quadratic constraints. The resulting quadratically constrained problem can be solved to optimality by mathematical solvers. To keep the required computation time within reasonable limits, various improvements to the model such as symmetry breaking are introduced. Experiments show that the majority of our benchmark instances can be solved to optimality within minutes. The expansion to concave containers is also explored, but proves to be more challenging as the required number of quadratic constraints quickly becomes prohibitive.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+
from $39.99 /Month
  • Starting from 10 chapters or articles per month
  • Access and download chapters and articles from more than 300k books and 2,500 journals
  • Cancel anytime
View plans

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

Data availability

The source code used to perform the experiments described in this paper can be found at https://github.com/JonasTollenaere/svmp-quaternion-qcp. All instance files can be found in our repository at https://gitlab.kuleuven.be/codes/datasets/3d-irregular-data-sets.

Notes

  1. This repository can be found at https://gitlab.kuleuven.be/codes/datasets/3d-irregular-data-sets.

References

  • Cherri LH, Cherri AC, Soler EM (2018) Mixed integer quadratically-constrained programming model to solve the irregular strip packing problem with continuous rotations. J Global Optim 72:89–107

    Article  MathSciNet  MATH  Google Scholar 

  • Godot (2024) Advanced vector math

  • Gottschalk SA (2000) Collision queries using oriented bounding boxes. The University of North Carolina at Chapel Hill

  • Lamas-Fernandez C, Bennell JA, Martinez-Sykora A (2023) Voxel-based solution approaches to the three-dimensional irregular packing problem. Oper Res 71(4):1298–1317

    Article  MathSciNet  MATH  Google Scholar 

  • Leao AA, Toledo FM, Oliveira JF, Carravilla MA, Alvarez-Valdés R (2020) Irregular packing problems: a review of mathematical models. Eur J Oper Res 282(3):803–822

    Article  MathSciNet  MATH  Google Scholar 

  • Pantoja-Benavides G, Álvarez-Martínez D, Parreño Torres F (2024) The normalized direct trigonometry model for the two-dimensional irregular strip packing problem. Mathematics 12(15):2414

    Article  Google Scholar 

  • Romanova T, Bennell J, Stoyan Y, Pankratov A (2018) Packing of concave polyhedra with continuous rotations using nonlinear optimisation. Eur J Oper Res 268(1):37–53

    Article  MathSciNet  MATH  Google Scholar 

  • Silva EF, Çalık H, Vancroonenburg W, Leao AAS, Wauters T (2021) Extracting maximal objects from three-dimensional solid materials. Comput Oper Res 132:105290

    Article  MathSciNet  MATH  Google Scholar 

  • Stoyan Y, Pankratov A, Romanova T (2016) Quasi-phi-functions and optimal packing of ellipses. J Glob Optim 65(2):283–307

    Article  MathSciNet  MATH  Google Scholar 

  • The CGAL Project (2024) CGAL User and Reference Manual. CGAL Editorial Board, 5.6.2 edition

  • Tollenaere J, Çalık H, Wauters T (2024) Efficient use of collision detection for volume maximization problems. Eur J Oper Res 319(3):967–982

    Article  MATH  Google Scholar 

  • Vince J (2011) Quaternions for computer graphics. Springer

    Book  MATH  Google Scholar 

Download references

Funding

This contribution was supported by the KU Leuven Internal Funding C2E/23/013 project. Editorial feedback and review was provided by Luke Connolly.

Author information

Authors and Affiliations

Authors

Contributions

J. Tollenaere: Conceptualization, Methodology, Software, Formal analysis and investigation, Writing. T. Wauters: Supervision, Funding acquisition, Writing—review.

Corresponding author

Correspondence to Jonas Tollenaere.

Ethics declarations

Conflict of interest

The authors have no competing interests to declare.

Additional information

Publisher's Note

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

Appendices

Appendix A: Datasets

1.1 Appendix A1: Experiments with convex containers

See Fig. 13.

Fig. 13
figure 13

The set of objects used as containers (gray) and items (locust) in the convex container experiments

1.2 Appendix A2: Experiments with concave containers

See Fig. 14.

Fig. 14
figure 14

The set of objects used as containers (gray) and items (locust) in the concave container experiments

All instances can be found in our repository at: https://gitlab.kuleuven.be/codes/datasets/3d-irregular-data-sets.

Appendix B: Detailed convex container results

Tables 11 and 12 provide a detailed overview of the computation times for the 80 instances in the convex container benchmark. Meanwhile, Tables 13 and 14 provide a detailed overview of the experiments where Gurobi and SCIP are compared.

The experiments were executed with Gurobi 11.0.0 and SCIP 9.1.0. To show the impact of a different number of available threads, the experiments with Gurobi were executed with 1, 12, and 64 threads. 12 threads is the default configuration for the M2 Pro CPU used in the experiments.

Table 11 Computation times for the convex container benchmark (Part 1/2)
Table 12 Computation times for the convex container benchmark (Part 2/2)
Table 13 Computation times for the convex container benchmark using different solvers and number of threads (Part 1/2)
Table 14 Computation times for the convex container benchmark using different solvers and number of threads (Part 2/2)

Appendix C: Convex container benchmarks compared to other approaches

This appendix provides detailed results comparing the solution quality and computation times against the heuristics introduced in Silva et al. (2021) and Tollenaere et al. (2024). This shows that the heuristic solution can be slightly worse than the optimal ones.

See Tables 15 and 16.

Table 15 Comparison of the solution quality and computation time for the concave container benchmark with the matheuristic and late acceptance heuristic (Part 1/2)
Table 16 Comparison of the solution quality and computation time for the concave container benchmark with the matheuristic and late acceptance heuristic (Part 2/2)

Appendix D: Detailed concave container results

Table 17 provides the individual results for the concave container benchmark. A scale of 0 and dash in the gap column indicates that no feasible solution was found by the solver in the 1 h time limit. The LA Rel. column shows the relative scale found by the late acceptance heuristic (Tollenaere et al. 2024) compared to the optimal scale.

Table 17 Detailed results for the concave container benchmark with and without convex hull relaxation

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Tollenaere, J., Wauters, T. Quaternion-based formulations for volume maximisation problems. J Comb Optim 50, 22 (2025). https://doi.org/10.1007/s10878-025-01351-x

Download citation

  • Accepted:

  • Published:

  • Version of record:

  • DOI: https://doi.org/10.1007/s10878-025-01351-x

Keywords

Profiles

  1. Jonas Tollenaere