Preprint
Article

This version is not peer-reviewed.

Application of Quantum Computers and Their Unique Properties for Constrained Optimization in Engineering Problems: Welded Beam Design

A peer-reviewed article of this preprint also exists.

Submitted:

02 February 2025

Posted:

03 February 2025

You are already at the latest version

Abstract

The welded beam design problem represents a real-world engineering challenge in structural optimization. The objective is to determine the optimal dimensions of a steel beam and weld length to minimize cost while satisfying constraints related to shear stress (τ), bending stress (σ), critical buckling load (Pc), end deflection (δ), and side constraints. The structural analysis of this problem involves four design variables: weld height (x1), support length (x2), beam thickness (x3), and beam width (x4), which are commonly denoted in structural engineering as h, l, t, b, respectively. The structural formulation of this problem leads to a nonlinear objective function, which is subject to five nonlinear and two linear inequality constraints. The optimal solution lies on the boundary of the feasible region, with a very small feasible-to-search-space ratio, making it a highly challenging problem for classical optimization algorithms. This paper explores the application of quantum computing to solve the welded beam optimization problem, utilizing the unique properties of quantum computers for constrained optimization in engineering problems. Specifically, we employ the D-Wave quantum computing system, which utilizes quantum annealing and is particularly well-suited for solving constrained optimization problems. The study presents a detailed formulation of the problem in a format compatible with the D-Wave system, ensuring efficient encoding of constraints and objective functions. Furthermore, we analyze the performance of quantum computing in solving this problem and compare the obtained results with classical optimization methods. The effectiveness of quantum computing is evaluated in terms of computational efficiency, accuracy, and its ability to navigate complex, constrained search spaces. This research highlights the potential of quantum algorithms in tackling real-world engineering optimization problems and discusses the challenges and limitations of current quantum hardware in solving practical industrial applications.

Keywords: 
;  ;  

1. Introduction

Optimisation problems constitute a fundamental category of mathematical challenges aimed at identifying the best possible solution within defined constraints. In practical terms, this involves maximising or minimising an objective function, which represents efficiency, cost, or another property of the analysed system. The resolution of optimisation problems is particularly significant in the field of engineering, where the design and optimisation of structures, processes, and technological systems play a pivotal role[1,2].
In engineering, optimisation problems frequently encompass complex design decisions, such as minimising material costs, maximising structural strength, or improving system efficiency. These problems are inherently challenging due to numerous constraints, including stresses, loads, deformations, and geometric limitations. The optimisation of real-world engineering problems, such as the design of mechanical components or load-bearing structures, is critical for reducing production costs, enhancing safety and performance, and improving the environmental efficiency of engineering processes.
A well-documented example of an optimisation problem in engineering is the welded beam design problem. This task involves determining the optimal dimensions of structural components to minimise production costs while adhering to constraints related to stresses, buckling, and deflection. This problem serves as a prominent benchmark in the literature for evaluating the performance of advanced optimisation algorithms [3].
In recent years, quantum computers, such as systems developed by D-Wave, have emerged as a promising tool for tackling challenging optimisation problems. Quantum computers leverage phenomena of quantum mechanics, including superposition, entanglement, and quantum tunnelling, enabling the simultaneous exploration of numerous solutions in the search space. D-Wave’s specific approach, known as quantum annealing, is particularly effective in solving combinatorial optimisation problems. This method exploits the natural tendency of physical systems to move towards a state of minimum energy, facilitating the identification of low-energy states that correspond to optimal or near-optimal solutions [4,5].
Thus, optimisation using advanced tools like D-Wave systems opens new horizons in addressing complex engineering challenges while improving the precision and efficiency of the design process [6,7].
This integration of cutting-edge computational methodologies into engineering optimisation marks a transformative step towards solving intricate problems with enhanced speed and accuracy.

2. Problem spawanej belki jako problem optymalizacujny

The optimization of a welded beam design involves finding the optimal dimensions of structural elements to minimize production costs while simultaneously meeting specified strength and geometric constraints, as illustrated in the diagram (Figure 1) where the key variable names are highlighted [8,9,10].
Figure 1. This is a figure. Schemes follow the same formatting.
Figure 1. This is a figure. Schemes follow the same formatting.
Preprints 148052 g001

Design Variables

(1)
x 1 = h : Height of the weld.
(2)
x 2 = l : Length of the weld.
(3)
x 3 = t : Thickness of the beam.
(4)
x 4 = b : Width of the beam.

Objective Function

The fabrication cost f ( X ) to be minimized is:
f ( X ) = 1.10471 x 1 2 + 0.04811 x 3 x 4 ( 14.0 + x 2 )

Constraints

The design is subject to the following constraints:
(1)
Shear Stress ( g 1 ):
τ ( X ) τ max 0
(2)
Bending Stress ( g 2 ):
σ ( X ) σ max 0
(3)
Deflection ( g 3 ):
δ ( X ) δ max 0
(4)
Geometry ( g 4 ):
x 1 x 4 0
(5)
Buckling Load ( g 5 ):
P P c ( X ) 0
(6)
Minimum Thickness ( g 6 ):
0.125 x 1 0
(7)
Cost Limit ( g 7 ):
f ( X ) 5.0 0

Design Variables’ Ranges

0.1 x 1 2 , 0.1 x 2 10 , 0.1 x 3 10 , 0.1 x 4 2

Material Properties and Parameters

  • Applied force: P = 600 lb ,
  • Beam length: L = 14 in ,
  • Maximum deflection: δ max = 0.25 in ,
  • Young’s modulus: E = 30 × 10 6 psi ,
  • Shear modulus: G = 12 × 10 6 psi ,
  • Maximum shear stress: τ max = 13 , 600 psi ,
  • Maximum bending stress: σ max = 30 , 000 psi .

Stress and Deflection Formulas

(1)
Shear Stress ( τ ):
τ = τ 2 + τ τ x 2 2 R + τ 2
where:
τ = P 2 x 1 x 2 , τ = M R , M = P L + x 2 2 , R = x 2 2 4 + x 1 + x 3 2 2 .
(2)
Bending Stress ( σ ):
σ = 6 P L x 4 x 3 2
(3)
Deflection ( δ ):
δ = 6 P L 3 E x 3 2 x 4
(4)
Buckling Load ( P c ):
P c = 4.013 E x 3 2 x 4 6 36 L 2 1 x 3 2 L E 4 G L 2

Strength Constraints

Shear Stress Constraint g 1

g 1 ( X ) = τ ( X ) τ max 0
where:
τ ( X ) = τ 1 2 + 2 τ 1 τ 2 x 2 2 R + τ 2 2
τ 1 = P 2 x 1 x 2 , τ 2 = M J , M = P L + x 2 2
R = x 3 2 4 + x 4 + x 2 2 2 , J = 2 2 x 1 x 2 x 3 2 4 + x 4 + x 2 2 2

Normal Stress Constraint g 2

g 2 ( X ) = σ ( X ) σ max 0
where:
σ ( X ) = 6 P L x 4 x 3 2

Deflection Constraint g 3

g 3 ( X ) = δ ( X ) δ max 0
where:
δ ( X ) = 6 P L 3 E x 4 x 3 3

Weld Geometry Constraint g 4

g 4 ( X ) = x 1 x 4 0

Buckling Load Constraint g 5

g 5 ( X ) = P P c ( X ) 0
where:
P c ( X ) = 4.013 E L 3 x 4 2 x 3 6 36

Minimum Weld Height Constraint g 6

g 6 ( X ) = 0.125 x 1 0

Cost Constraint g 7

g 7 ( X ) = 1.10471 x 1 2 + 0.04811 x 3 x 4 ( 14.0 + x 2 ) 5.0 0
This is an example of a quote.

3. Quadratic Unconstrained Binary Optimization (QUBO)

Quadratic Unconstrained Binary Optimization (QUBO) is an optimization problem in which we seek a vector of binary variables x { 0 , 1 } n that minimizes (or maximizes) a quadratic objective function:
f ( x ) = x T Q x ,
where Q is an n × n square matrix (often symmetric). Written in detail:
f ( x ) = i = 1 n j = 1 n Q [ i , j ] x i x j .
The term Unconstrained indicates that, in its baseline form, QUBO does not include additional explicit constraints other than the binary nature of the variables. In practical scenarios that require specific constraints (e.g., limiting sums of certain variables), these are introduced as penalty terms in the objective, preserving the quadratic form.

3.1. Basic Elements of QUBO

(1)
Binary variables
Each component x i of the vector x can only be 0 or 1.
(2)
The matrix Q
  • Diagonal elements Q [ i , i ] capture the contribution of each variable x i (the “linear” part in the binary sense, since x i 2 = x i for x i { 0 , 1 } ).
  • Off-diagonal elements Q [ i , j ] (for i j ) describe the interaction between variables x i and x j .
(3)
Objective function
It is given by x T Q x . Typically, one aims to minimize this function, though maximizing is also possible by inverting the sign of the relevant terms in Q .
(4)
Constraint penalties
In real-world applications, constraints (e.g., i x i k ) are introduced by adding penalty terms to the objective, for instance:
λ i = 1 n x i k 2 ,
where λ is sufficiently large so that violating the constraint becomes too costly.

3.2. Applications of QUBO

  • Combinatorial optimization problems. For example:
    • Max-Cut: partitioning a graph’s vertices into two sets to maximize the sum of edges “cut” by that partition.
    • SAT (Satisfiability): logical formulas can be mapped to QUBO by introducing penalties for unsatisfied clauses.
    • Traveling Salesman Problem (TSP): minimizing the total route distance while visiting each city exactly once.
  • Business optimization.
    • Knapsack Problem: choosing a subset of items under capacity constraints.
    • Production planning and scheduling: allocating tasks to resources.
    • Resource allocation: selecting investment projects with limited budgets.
  • Machine learning.
    • Clustering: minimizing a chosen error function to group data points.
    • Feature selection: choosing an optimal subset of features for classification tasks.

3.3. Solving QUBO

Classical methods
  • Simulated Annealing, Genetic Algorithms, Tabu Search: metaheuristics that search the space of solutions.
  • Hybrid methods combining exact search (e.g., integer programming) with heuristic approaches.
Quantum methods
  • Quantum Annealing: realized on machines like D-Wave, where QUBO is expressed as an equivalent Ising problem.
  • Gate-based algorithms: e.g., QAOA (Quantum Approximate Optimization Algorithm), requiring additional implementation steps and an active area of research.
QUBO is a universal model for binary optimization, allowing representation of numerous complex real-world and theoretical problems. It has a single unified form x T Q x that is naturally compatible both with classical heuristic approaches and quantum annealers. Its broad range of applications spans from purely theoretical problems (such as SAT or Max-Cut) to practical tasks in business (scheduling, resource allocation) and machine learning (feature selection, clustering). By adding penalty terms, it is straightforward to incorporate various constraints while preserving the core quadratic structure.

4. Formulating Welded Beam Design as QUBO

4.1. Objective Function

The cost function to be minimized is given by:
f ( X ) = 1.10471 x 1 2 + 0.04811 x 3 x 4 ( 14.0 + x 2 ) .
To express this in QUBO:
  • Each design variable ( x 1 , x 2 , x 3 , x 4 ) is discretized into a finite range of values, represented as binary vectors.
  • Each variable x i is described as:
    x i = j = 1 n 2 j 1 q i j ,
where q i j { 0 , 1 } are binary variables, and n is the number of bits.
The objective function in binary form:
f ( Q ) = 1.10471 j = 1 n 2 j 1 q 1 j 2 + 0.04811 j = 1 n 2 j 1 q 3 j j = 1 n 2 j 1 q 4 j ( 14.0 + j = 1 n 2 j 1 q 2 j )

4.2. Constraints

Each constraint is transformed into a quadratic expression with a penalty C g for violations. The penalty terms are added to the objective function as follows:
F ( Q ) = f ( Q ) + λ g C g ,
where λ is the weighting coefficient.

4.3. Constraints

1. Shear Stress ( g 1 ):
τ ( Q ) τ max 0 ,
where τ ( Q ) is computed in binary form as described above.
Penalty:
C 1 = max ( 0 , τ ( Q ) τ max ) 2 .
2. Bending Stress ( g 2 ):
σ ( Q ) σ max 0 .
Penalty:
C 2 = max ( 0 , σ ( Q ) σ max ) 2 .
3. Deflection ( g 3 ):
δ ( Q ) δ max 0 .
Penalty:
C 3 = max ( 0 , δ ( Q ) δ max ) 2 .
4. Geometry ( g 4 ):
x 1 x 4 0 .
Penalty:
C 4 = max ( 0 , x 1 x 4 ) 2 .
5. Buckling Load ( g 5 ):
P P c ( Q ) 0 .
Penalty:
C 5 = max ( 0 , P P c ( Q ) ) 2 .
6. Minimum Thickness ( g 6 ):
0.125 x 1 0 .
Penalty:
C 6 = max ( 0 , 0.125 x 1 ) 2 .
7. Cost Limit ( g 7 ):
f ( Q ) 5.0 0 .
Penalty:
C 7 = max ( 0 , f ( Q ) 5.0 ) 2 .

4.4. QUBO Matrix

The objective function and penalties can be written as a quadratic binary form:
F ( Q ) = i a i q i + i , j b i j q i q j .
Where:
  • a i are the linear weights for the binary variables,
  • b i j are the quadratic interaction coefficients between the variables.
For each constraint C g , the appropriate a i and b i j elements in the QUBO matrix Q are calculated and added to the objective function.

5. Results

Below are the results of research on structural optimization using the quantum properties of the D-Wave system. The results of other algorithms, such as the Whale Optimization Algorithm (WOA), Gravitational Search Algorithm (GSA), Goose Algorithm (GOOSE), and Particle Swarm Optimization (PSO), are sourced from the literature. The names in the Table 1, Quantum Start 1 and Quantum Start 2, represent the results of optimization using the D-Wave system.
Meanwhile, the Table 2 and Table 3 presents the parameters for the lowest cost values obtained for the solutions Quantum Start 1 and Quantum Start 2.
Table 1. Comparison of algorithm performance.
Table 1. Comparison of algorithm performance.
Algorithm Name Best Result Result Source
WOA 1.732 (Mirjalili & Lewis, 2016)
PSO 1.742 (Mirjalili & Lewis, 2016)
GOOSE 3.188 arxiv2024
GSA 3.576 (Mirjalili & Lewis, 2016)
Quantum Start 1 1.234
Quantum Start 2 1.016
Table 2. Parameters for Quantum Start 1.
Table 2. Parameters for Quantum Start 1.
Parameter Value
x1 (Height of weld) 0.3533
x2 (Length of weld) 6.0400
x3 (Height of beam) 2.0800
x4 (Width of beam) 2.0000
Table 3. Parameters for Quantum Start 2.
Table 3. Parameters for Quantum Start 2.
Parameter Value
x1 (Height of weld) 0.3533
x2 (Length of weld) 4.7200
x3 (Height of beam) 4.7200
x4 (Width of beam) 0.8600
In both cases of quantum optimization, the energy obtained was 5,954,303.3448 and 2,452,399.0500, respectively. In one case, the energy was 1,640.2799 for the best solution of 0.5646, which is an exception and should be subjected to detailed investigation. As can be seen, optimization using D-Wave yields good results. Moreover, the properties of this system suggest that the optimization of highly complex structures can be performed very quickly and with excellent results.

6. Discussion

The presented research findings indicate a significant impact of optimization on solving engineering problems, particularly those related to structural design. This type of optimization plays a crucial role in cost reduction, which consequently leads to decreased financial and environmental burdens. Minimizing material consumption and designing more efficient structures can contribute to the sustainable development of structural engineering and other technical fields.
The obtained results have been compared with data from the literature, where classical heuristic methods such as the Whale Optimization Algorithm (WOA), Gravitational Search Algorithm (GSA), Goose Algorithm (GOOSE), and Particle Swarm Optimization (PSO) were applied. It has been demonstrated that leveraging the properties of quantum computers in the structural optimization process can yield results that are at least comparable, and in some cases superior, to traditional methods. This is a significant discovery, suggesting the potential applicability of quantum algorithms to a broad range of engineering problems.
The article presents the potential applications of quantum optimization; however, at this stage, the research remains exploratory due to the limited availability of quantum computers. Despite this limitation, the obtained results provide a solid foundation for further investigations into the implementation of these technologies in engineering practice. The author intends to expand the scope of analyzed cases and increase the complexity of the optimized structures in future studies to assess the scalability and effectiveness of the method in more complex problems.
In conclusion, it has been demonstrated that quantum optimization can serve as a viable alternative to classical heuristic methods. The presented findings indicate that it is capable of delivering solutions of comparable or superior quality, making it a promising research direction for the optimization of engineering problems.

7. Conclusions

The conducted research has demonstrated that quantum optimization can serve as an effective alternative to classical heuristic methods in solving engineering problems, particularly in structural design. The obtained results suggest that utilizing quantum computers enables the achievement of comparable or superior solutions while also offering the potential for significant acceleration of computational processes.
Despite the limited access to advanced quantum systems, the results of the conducted experiments provide a solid foundation for further research.
In conclusion, quantum optimization exhibits substantial potential in engineering, and its continued development may lead to significant cost savings and environmental benefits.

Informed Consent Statement

Not applicable.

Data Availability Statement

Research institutions that wish to receive the data are requested to contact the author for data submission.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ewald, D.; Czerniak, J.M.; Paprzycki, M. A New OFNBee Method as an Example of Fuzzy Observance Applied for ABC Optimization. In Theory and Applications of Ordered Fuzzy Numbers; Prokopowicz, P., Czerniak, J., Mikolajewski, D., Apiecionek, L., Slzak, D., Eds.; Studies in Fuzziness and Soft Computing; Springer: Cham, Switzerland, 2017; Volume 356. [Google Scholar]
  2. Czerniak, J.M.; Zarzycki, H.; Ewald, D. AAO as a new strategy in modeling and simulation of constructional problems optimization. Simul. Model. Pract. Theory 2017, 76, 22–33, ISSN 1569-190X. [Google Scholar] [CrossRef]
  3. Ewald, D.; Czerniak, J.M.; Zarzycki, H. Approach to Solve a Criteria Problem of the ABC Algorithm Used to the WBDP Multicriteria Optimization. In Intelligent Systems’2014. Advances in Intelligent Systems and Computing; Angelov, P., et al., Eds.; Springer: Cham, Switzerland, 2015; Volume 322. [Google Scholar] [CrossRef]
  4. D-Wave Documentation. Available online: https://docs.dwavesys.com/docs/latest/c_gs_2.html (accessed on 26 January 2025).
  5. What Is the Hamiltonian? Available online: https://support.dwavesys.com/hc/en-us/articles/360003684614-What-Is-the-Hamiltonian (accessed on 26 January 2025).
  6. D-Wave Hybrid Solver Documentation. Available online: https://docs.dwavesys.com/docs/latest/handbook_hybrid.html (accessed on 26 January 2025).
  7. Introduction to D-Wave Systems. Available online: https://docs.dwavesys.com/docs/latest/handbook_intro.html (accessed on 26 January 2025).
  8. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  9. Deb, K.; Sundar, J.; N, U.B.R.; Chaudhuri, S. Reference Point Based Multi-Objective Optimization Using Evolutionary Algorithms. Int. J. Comput. Intell. Res. 2006, 2, 273–286. Available online: https://www.softcomputing.net/ijcir/vol2-issu3-paper4.pdf.
  10. Ray, T.; Liew, K.M. A Swarm Metaphor for Multiobjective Design Optimization. Eng. Optim. 2002, 34, 141–153. [Google Scholar] [CrossRef]
  11. Hamad, R.K.; Rashid, T.A. GOOSE Algorithm: A Powerful Optimization Tool for Real-World Engineering Challenges and Beyond. arXiv 2024, arXiv:2307.10420. [Google Scholar] [CrossRef]
  12. Mirjalili, S. Dragonfly algorithm: a new meta-heuristic optimization technique for solving single-objective, discrete, and multi-objective problems. Neural Comput. Appl. 2016, 27, 1053–1073. [Google Scholar] [CrossRef]
  13. Kochenberger, G.A.; Hao, J.K.; Glover, F.; Lewis, M.; Lü, Z.; Wang, H.; Wang, Y. The unconstrained binary quadratic programming problem: a survey. J. Comb. Optim. 2014, 28, 58–81. [Google Scholar] [CrossRef]
  14. Lucas, A. Ising formulations of many NP problems. Front. Phys. 2014, 2, 5. [Google Scholar] [CrossRef]
  15. Glover, F.; Kochenberger, G.A.; Du, Y. Quantum-Inspired Evolutionary Algorithms; Studies in Computational Intelligence; Springer: Cham, Switzerland, 2019. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated