Constraint Solving at Scale: Optimizing Performance in Complex Parametric Assemblies
DOI:
https://doi.org/10.63282/3050-9246.IJETCSIT-V1I2P106Keywords:
Constraint Solving, Parametric CAD, Scalability, Assembly Modeling, Graph Decomposition, Performance Optimization, Multi-threadingAbstract
This study examines various geometric constraint solvers for parametric Computer-Aided Design (CAD) assembly systems, focusing on scalability, performance, and robustness in parametric environments where assembly design is highly interdependent. The current systems of CAD are highly dependent on constraint solvers to sustain the geometric and dimensional relations among parts. These solvers are efficient with small or moderately complex models, but tend to suffer a performance drop when applied to large models that contain hundreds or thousands of interdependent features. The paper is an analysis of constraint solver methods, both commercial and open-source, and compares their performance in progressively complex models. The paper discusses the scaling issues posed by tightly coupled features, in which the interrelationship between features can lead to nonlinear and even incompatible constraints, and thus may result in an unstable solver or slow convergence. This research methodology involves benchmarking a variety of solver algorithms such as Gauss-Seidel, Newton-Raphson and graph-based solvers. This will be done against a variety of simulated parametric assemblies of different complexity levels. Relevant key performance indicators, including solve time, consistency in convergence, numerical stability, and the reaction of users, are quantified. A well-structured implementation plan is devised that takes into account multi-threaded computation, partitioning of constraints, and dynamic solutions of dependencies. We use typical representative CAD datasets and synthetic models in our experimental setup to ensure the applicability of our results to a variety of industrial applications, such as the aerospace, automotive, and precision manufacturing domains, among others. Findings illustrate that the conceptual hybrid solver architecture will reduce the average solve time by up to 45 per cent compared to typical commercial solutions for assemblies with more than 500 constraints. In addition, it features constraint clustering and the use of parallel computation to promote stability in cyclic dependencies and ill-conditioned constraint networks. This method proves to be reliable, both through computational simulation and subsumption in a mid-scale CAD system, demonstrating a faster response time when editing models and regeneration. This work has three contributions: (1) a fully explored performance evaluation of existing constraint solver strategies on an industrial scale; (2) the architecture of a tuned system exploiting multi-core processing and a graph-based decomposition method; and (3) a repeatable benchmarking system to compare constraint solvers. The results have applications not only to CAD software designers but also to practitioners in fields that demand rapid, stable, and scalable efficiency in handling the constraint resolution process for complex assemblies
Downloads
References
[1] Michelucci, D., Foufou, S., Lamarque, L., & Schreck, P. (2006, June). Geometric constraints solving: some tracks in Proceedings of the 2006 ACM symposium on solid and physical modeling (pp. 185-196).
[2] Hoffman, C. M., Lomonosov, A., & Sitharam, M. (2001). Decomposition Plans for Geometric Constraint Systems, Part I: Performance Measures for CAD. Journal of Symbolic Computation, 31(4), 367-408
[3] Adleman, L., Cheng, Q., Goel, A., Huang, M. D., Kempe, D., De Espanes, P. M., & Rothemund, P. W. K. (2002, May). Combinatorial optimization problems in self-assembly. In Proceedings of the thirty-fourth annual ACM symposium on Theory of Computing (pp. 23-32).
[4] Anderl, R., & Mendgen, R. (1998). Analyzing and optimizing constraint structures in complex parametric CAD models. In Geometric constraint solving and applications (pp. 58-81). Berlin, Heidelberg: Springer Berlin Heidelberg.
[5] Bettig, B., & M. Hoffmann, C. (2011). Geometric constraint solving in parametric computer-aided design.
[6] Chen, H., Xu, J., Zhang, B., & Fuhlbrigge, T. (2017). Improved parameter optimization method for complex assembly process in robotic manufacturing. Industrial Robot: An International Journal, 44(1), 21-27.
[7] Bettig, B.; Hoffmann, C. M. Geometric Constraint Solving in Parametric Computer Aided Design. Journal of Computing and Information Science in Engineering, Volume 11, Issue 2, Article 021001, June 14, 2011. DOI: 10.1115/1.3593408.
[8] Touloupaki, E., & Theodosiou, T. (2017). Performance simulation integrated in parametric 3D modeling as a method for early stage design optimization—A review. Energies, 10(5), 637.
[9] Nemhauser, G. L. (1994). The age of optimization: Solving large-scale real-world problems. Operations Research, 42(1), 5-13.
[10] Brailsford, S. C., Potts, C. N., & Smith, B. M. (1999). Constraint satisfaction problems: Algorithms and applications. European Journal of Operational Research, 119(3), 557-581.
[11] Fioretto, F., Pontelli, E., & Yeoh, W. (2018). Distributed constraint optimization problems and applications: A survey. Journal of Artificial Intelligence Research, 61, 623-698.
[12] Robertson, B. F., & Radcliffe, D. F. (2009). Impact of CAD tools on creative problem solving in engineering design. Computer-aided design, 41(3), 136-146.
[13] Sarcar, M. M. M., Rao, K. M., & Narayan, K. L. (2008). Computer-aided design and manufacturing. PHI Learning Pvt. Ltd.
[14] Briney, K. (2015). Data Management for Researchers: Organise, Maintain, and Share Your Data for Research Success. Pelagic Publishing Ltd.
[15] Hoos, H. H., Kaufmann, B., Schaub, T., & Schneider, M. (2013, January). Robust benchmark set selection for Boolean constraint solvers, in International Conference on Learning and Intelligent Optimization (pp. 138-152). Berlin, Heidelberg: Springer Berlin Heidelberg.
[16] Griewank, A., Bischof, C., Corliss, G., Carle, A., & Williamson, K. (1993). Derivative convergence for iterative equation solvers. Optimisation Methods and Software, 2(3-4), 321-355.
[17] Anderl, R., & Mendgen, R. (1996). Modelling with constraints: theoretical foundation and application. Computer-Aided Design, 28(3), 155-168.
[18] Sayed, E., Essam, D., Sarker, R., & Elsayed, S. (2015). Decomposition-based evolutionary algorithm for large-scale constrained problems. Information Sciences, 316, 457-486.
[19] Van Holland, W., & Bronsvoort, W. F. (2000). Assembly features in modeling and planning. Robotics and computer-integrated manufacturing, 16(4), 277-294.
[20] Kovács, I., Várady, T., & Salvi, P. (2015). Applying geometric constraints for perfecting CAD models in reverse engineering. Graphical Models, 82, 44-57.