Handling simulation failures of a computationally expensive multiobjective optimization problem in pump design
Full text
This is a self-archived version of an original article. This version may differ from the original in pagination and typographic details. Author(s): Title: Year: Version: Copyright: Rights: Rights url: Please cite the original version: CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ Handling simulation failures of a computationally expensive multiobjective optimization problem in pump design © 2024 The Authors. Published by Elsevier Ltd. Published version Mazumdar, Atanu; Burkotová, Jana; Krátký, Tomáš; Chugh, Tinkle; Miettinen, Kaisa Mazumdar, A., Burkotová, J., Krátký, T., Chugh, T., & Miettinen, K. (2024). Handling simulation failures of a computationally expensive multiobjective optimization problem in pump design. Engineering Applications of Artificial Intelligence, 136(Part A), Article 108897. https://doi.org/10.1016/j.engappai.2024.108897 2024
Engineering Applications of Artificial Intelligence 136 (2024) 108897 Available online 13 July 2024 0952-1976/© 2024 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). Contents lists available at ScienceDirect Engineering Applications of Artificial Intelligence journal homepage: www.elsevier.com/locate/engappai Research paper Handling simulation failures of a computationally expensive multiobjective optimization problem in pump design Atanu Mazumdar a,∗, Jana Burkotová b, Tomáš Krátký c, Tinkle Chugh d, Kaisa Miettinen a aUniversity of Jyvaskyla, Faculty of Information Technology, P.O. Box 35, (Agora), FI-40014 University of Jyvaskyla, Finland bFaculty of Science, Palacky University Olomouc, 17. listopadu 12, Olomouc, 77900, Czech Republic cCentre of Hydraulic Research, Lutin, Czech Republic dDepartment of Computer Science, University of Exeter, UK ARTICLE INFO Dataset link:https://github.com/amrzr/CKP-R VEA Keywords: Simulation-based optimization Gaussian process Constraint handling Data-driven optimization Computational cost Computational fluid dynamics simulations ABSTRACT Solving real-world optimization problems in engineering and design involves various practical challenges. They include simultaneously optimizing multiple conflicting objective functions that may involve computationally expensive simulations. Failed simulations introduce another practical challenge, as it is not always possible to set constraints a priori to avoid failed simulations. Failed simulations are typically ignored during optimization, which leads to wasting computation resources. When the optimization problem has multiple objective functions, failed simulations can also be misleading for the decision maker while choosing the most preferred solution. Utilizing data collected from previous simulations and enabling the optimization algorithm to avoid failed simulations can reduce the computational requirements. We consider data-driven multiobjective optimization of the diffusor of an axial pump and propose an approach to reduce the number of solutions that fail in expensive computational fluid dynamics simulations. The proposed approach utilizes Kriging surrogate models to approximate the objective functions and is inexpensive to evaluate. We utilize a probabilistic selection approach with constraints in a multiobjective evolutionary algorithm to find solutions with better objective function values, lower uncertainty, and lower probability of failing. Finally, a domain expert chooses the most preferred solution using one’s preferences. Numerical tests show significant improvement in the ratio of feasible solutions to all the available solutions without special treatment of failed simulations. The solutions also have a higher quality (hypervolume) and accuracy than the other tested approaches. The proposed approach provides an efficient way of reducing the number of failed simulations and utilizing offline data in multiobjective design optimization. 1. Introduction Solving real-world optimization problems poses multiple challenges. In many optimization problems, there is no single objective function to be optimized, but multiple objective functions need to be considered. Typically, the objective functions are conflicting and need to be optimized simultaneously. This means that multiobjective optimization methods must be applied (Coello et al.,2007;Hwang and Masud,1979; Miettinen,1999;Steuer,1986). Another challenge in solving real-world optimization problems is that evaluations of objective function values may be based on computationally expensive simulations, which puts a limit on the number of evaluations performed in the optimization process. In such situations, surrogate models may be used to approximate the underlying objective functions to speed up calculations (Chugh ∗Corresponding author. E-mail addresses: [email protected] (A. Mazumdar), [email protected] (J. Burkotová), [email protected] (T. Krátký), [email protected] (T. Chugh), [email protected] (K. Miettinen). et al.,2017;Tabatabaei et al.,2019;Qing et al.,2023;Daulton et al., 2020). Besides the general challenges of real-world surrogate-assisted multiobjective optimization, we focus here on how to cope with situations when numerical simulations fail. This can happen when evaluations of objective functions are unsuccessful for some combination of design variables. Simulation failures can occur for different reasons, such as geometry or mesh creation errors when solving underlying partial differential equations. Simulation failures can be difficult to avoid because the infeasible region in the design space is not always known a priori. While the designs leading to unsuccessful function evaluations can be ignored when building the surrogate approximations of the objective functions, using the classification information about feasible and infeasible solutions can improve the quality of surrogates and increase the https://doi.org/10.1016/j.engappai.2024.108897 Received 19 September 2023; Received in revised form 27 February 2024; Accepted 26 June 2024
Engineering Applications of Artificial Intelligence 136 (2024) 108897 2 A. Mazumdar et al. possibility of finding optimal solutions in the feasible region. It can also avoid wasting computing resources in failed simulations. We demonstrate these challenges on a hydraulic design of a pump stator, where a pump shape is to be found that meets the desired performance goal — typically meeting a specified head for a given flow rate called design point, with good efficiency and other characteristics in a specified working range (of flow rates). As the pump performance depends on the character of flow in its interior parts, and the fluid dynamics are complex, a hydraulic design problem cannot be solved directly. Instead, a starting design (based on ‘‘engineering methods’’) is usually created and further improved by evaluating its performance using computational fluid dynamics (CFD) simulations. This is a very complex and computationally expensive optimization problem that human experts typically try to approach as a semi-intuitive, iterative process: analyze results, change design, perform simulations, analyze results, etc. However, the design creation and evaluation can be seamlessly connected with an optimizer, fully utilizing the potential of multiobjective optimization. The design of the pump considered has 22 geometry parameters and three objective functions defined as the efficiency of the pump at three different flow rates (to ensure a good performance and peak efficiency at the whole working range). The three objective functions are conflicting, because it is impossible to construct a pump with a high efficiency at suboptimal, optimal and high flow rates simultaneously. The evaluation of the objective function values is based on numerical CFD simulations that are computationally very expensive. In fact, one simulation run takes between 16 and 20 h. Taking the extreme computation cost into account, we can consider the pump design problem from the perspective of offline data-driven optimization (Jin et al.,2019), where no additional simulations are accessible during the optimization process. In such a case, we need to utilize the already available and evaluated data as efficiently as possible to improve the pump design. The occurrence of simulation failures complicates the optimization of the pump design problem. This situation happens when a combination of geometric parameters leads to a nonviable geometry shape, and the corresponding geometry or mesh generation fails. Therefore, we need to incorporate information about failed and successful simulations into the solution process to avoid infeasible solutions. Otherwise, the limited computation resources are wasted by generating solutions that cannot be used. In extreme cases, this can lead to only few or even no feasible solutions obtained by the optimization. Handling infeasible solutions in surrogate-assisted optimization, including Bayesian optimization, has been an active research topic over the last few decades Wauters (2024), Ungredda (2022). One approach for constraint handling is to maximize the probability of feasibility (Schonlau et al.,1998), where, first, a surrogate for each computationally expensive constraint function is built, and the resulting probabilistic models are used by the optimization algorithm (similar to an infill criterion in Bayesian optimization). The first such work on constraint handling was proposed in Schonlau et al. (1998) for singleobjective optimization problems, where the authors used the expected improvement (Jones et al.,1998) and the probability of feasibility to find potentially feasible solutions. Later, the approach was applied in many works, including Gardner et al. (2014), Parr et al. (2012), Sasena et al. (2002). A review can be found in Gelbart (2015). All these works combine expected improvement and the probability of feasibility in one function by taking the product of the two. The same idea can also be applied to multiobjective optimization problems. For instance, the works in Daulton et al. (2020), Feliot et al. (2016), Singh et al. (2014) used the expected hypervolume improvement (Emmerich et al.,2006) and the probability of feasibility to find a feasible set of design vectors. The use of such probabilistic models allows the algorithm to search for feasible solutions close to optimal ones. A robust multiobjective Bayesian optimization technique was proposed in Wauters (2024) that has the ability to reduce the number of failed designs. The primary research gap in the previously proposed approaches for handling constraints is that they were not designed to solve offline data-driven optimization problems. As mentioned in Mazumdar et al. (2022), solving offline data-driven multiobjective optimization has its own challenges due to the uncertainty in the surrogates’ prediction and the inability to run any further simulations during the optimization process. Motivated by the works in constraint handling, we propose an approach that uses the probability of the selection criterion (Mazumdar et al.,2022) and the probability of feasibility to handle failed simulations in computationally expensive problems in an offline setting. In particular, we use Kriging-assisted probabilistic reference vector guided evolutionary algorithm (KP-RVEA) (Mazumdar et al.,2022) as a multiobjective optimization method, and refer to the proposed approach with a modified selection criterion based on constraint handling as CKP-RVEA. We demonstrate with numerical results that the proposed CKPRVEA approach produced more feasible solutions compared to generic (Jin et al.,2019) and probabilistic selection (Mazumdar et al.,2022) approaches while solving the pump design optimization problem. After simulations, the solutions had a higher hypervolume and accuracy compared to the other tested approaches. Finally, a domain expert (also called a decision maker) was satisfied with the solutions and successfully found the most preferred design based on visualizations. To summarize, the contributions of this paper are two-fold. We propose the approach called CKP-RVEA for probabilistic constraint handling in offline data-driven multiobjective optimization and demonstrate that it: 1. can successfully solve a real-world optimal pump design problem with multiple objective functions involving computationally very expensive simulations, which limit the number of function evaluations, 2. profits from the feasibility classification incorporated in the modified probabilistic selection criterion, successfully detects the feasible region and, thus, reduces the number of failed simulations in the solution process. The rest of the paper is arranged as follows. We describe the pump design problem, key ideas of simulation-based optimization, offline data-driven multiobjective optimization, and probabilistic evolutionary algorithm in Section 2. Section 3presents the proposed probabilistic selection approach for handling failed simulations. We solve the pump design optimization problem, analyze the results, and illustrate the decision-making process in Section 4. Finally, we conclude our work and discuss future research directions in Section 5. 2. Background This section is devoted to the description of the pump design problem and the basic concepts needed for the rest of the paper. We also provide a brief summary of the reference vector-guided evolutionary algorithm called RVEA and a probabilistic approach embedded in the selection criterion of RVEA. 2.1. Description of the pump design problem Hydrodynamic pumps (Gülich,2020) serve for energy conversion between the mechanical and kinetic energy of a moving fluid. They find applications in several areas, such as the water and petroleum industry. Large pumps for industrial applications, with (tens of) MWs of power, are tailored exactly to customers’ needs. A good practice is to create a starting design utilizing engineering methods (i.e., a combination of simplified design formulas and real-world performance data of already existing designs), followed by expert-supervised iteration and/or optimization processes based on numerical simulations. Such a process, called hydraulic design, is very complex and involves a combination
Engineering Applications of Artificial Intelligence 136 (2024) 108897 3 A. Mazumdar et al. Table 1 Design variables with their lower and upper bounds and descriptions. Index lb ub Units Description 1 20 30 degree Beta angle - hub - leading edge 2 0.22 0.72 Beta angle - hub - relative value at 25% 3 0.22 0.76 Beta angle - hub - relative value at 50% 4 0.25 0.78 Beta angle - hub - relative value at 75% 5−5 0 degree Beta angle - hub - value at 95% - difference to trailing edge value 6 85 90 degree Beta angle - hub - trailing edge 7 355 380 mm Outlet diameter - hub 8 450 600 mm Meridional length - hub 9 15 45 mm Leading edge position - hub - distance from the inlet 10 15 50 mm Trailing edge position - hub - distance to the outlet 11 −10 10 degree Sweep angle (defined at the shroud) 12 16 26 degree Beta angle - shroud - leading edge 13 0.25 0.76 Beta angle - shroud - relative value at 25% 14 0.22 0.7 Beta angle - shroud - relative value at 50% 15 0.25 0.76 Beta angle - shroud - relative value at 75% 16 −5 0 degree Beta angle - shroud - value at 95% - difference to trailing edge value 17 85 90 degree Beta angle - shroud - trailing edge 18 450 600 mm Meridional length - shroud 19 15 60 mm Leading edge position - shroud - distance from the inlet 20 15 50 mm Trailing edge position - shroud - distance to the outlet 21 27 35 degree Outflow angle - hub 22 −15 5 degree Outflow angle - shroud - relative to the hub angle of different tools and approaches, computationally demanding simulations, and careful balancing of many conflicting objective functions. The basics of hydraulic design are described in Gülich (2020, Chapter 7.6). A similar approach to creating the parametric model of the pump was used in De Donno et al. (2019), Bellary et al. (2015). The pump considered here is a diagonal pump with an axial diffuser designed for a specific speed ns = 200 (Gülich,2020, Chapter 2.3). Due to the computation cost of numerical simulations (tens of hours to days) and a high number of design variables necessary for describing the shape, it is not possible to optimize the complete pump in an acceptable time. This, and the prior knowledge of what to expect from the stator design, is the reason why we restrict the optimization to the pump stator. Due to this, the geometry and the formulations of objective functions to be optimized can be safely simplified, and some (important) aspects of the pump performance (such as cavitation characteristics) can be neglected. The CFD model of the stator is shown in Fig. 1. Its geometry is described by 22 geometry parameters that represent meridional shapes and blade positions, angles, and thickness in a CFD model. They are the design variables of the problem considered. Their descriptions and their lower and upper bounds are listed in Table 1. The goal of shape optimization is to improve the pump performance and to find a design that is as efficient as possible. Typically, a pump is not operated at a single flow rate. Instead, high efficiency in the whole working range of flow rates is required. However, it is not possible in practice to design a pump with a high efficiency at all considered flow rates. Instead, the problem is considered as a multiobjective optimization problem. Based on the CFD performance results of the starting pump design, we have selected three pump efficiencies at 76%, 100%, and 120% of the pump’s optimal flow rate (the so-called design point) to be optimized, and thus, the problem has three objective functions. Three different flow rates for the optimization represent a good balance in computation costs and pump performance in the whole working range. We use the commercial software ANSYS CFX (Anon,2013;Trev, 2012) and related tools combined with custom-made scripts and codes to solve the problem. The solution process starts with a parametric geometry model created with ANSYS DesignModeler and BladeModeler tools. Next, the computation meshes are created with TurboGrid and ANSYS Meshing. With Python codes and ANSYS scripts, the simulation models are updated and run on an HPC cluster. The simulations are set as transient, i.e., with rotating impeller blades. This means that the position of the impeller blades with respect to the stator blades is changing during the impeller rotation, and so is the performance. Fig. 1. CFD model of the pump with mesh details. The optimized stator part is in blue. It is thus necessary to evaluate the objective function values through time series data obtained by CFD simulations. We consider the moving average efficiency values over the last two impeller rotations, as it is a general engineering practice for transient simulations. For most simulations, it means running between 10 to 20 impeller rotations before the averaged objective function values are reasonably stable. The simulation time is between 16 and 20 h on a 16-core HPC cluster node. A more detailed description of the stator problem is given in Krátký (2020). 2.2. Basics of multiobjective optimization As said, the shape optimization of the pump design is an example of a multiobjective optimization problem with computationally very expensive objective functions. The optimization process can be assisted by surrogate models that are computationally inexpensive to evaluate. This type of optimization is referred to as data-driven optimization (Jin et al.,2019;Wang et al.,2019) as the surrogates are built using simulation data that has been previously acquired. When the time taken to run each simulation is long, running new simulations can be too costly while performing the optimization. The optimization process can be performed using only available data in such cases. This type of datadriven optimization is often regarded as ‘offline’ optimization (Jin et al., 2019;Wang et al.,2019).
Engineering Applications of Artificial Intelligence 136 (2024) 108897 4 A. Mazumdar et al. Fig. 2. A generic approach for offline data-driven multiobjective optimization. A multiobjective optimization problem (MOP) with 𝐾≥2objective functions in the feasible region in the design space, 𝛺∈ℜ𝑁is: minimize 𝑓1(𝐱),…, 𝑓𝐾(𝐱) subject to 𝐱∈𝛺. (1) Objective vector 𝐟(𝐱)=(𝑓1(𝐱),…, 𝑓𝐾(𝐱)) is to represent every feasible design vector 𝐱that consists of 𝑛design variables. A solution 𝐱1∈𝛺 is considered to dominate another solution 𝐱2∈𝛺if 𝑓𝑖(𝐱1)≤𝑓𝑖(𝐱2) for all 𝑖= 1,…, 𝐾 and at least one of the inequalities 𝑓𝑗(𝐱1)< 𝑓𝑗(𝐱2)for 𝑗= 1,…, 𝐾 is satisfied. A solution of a MOP is considered nondominated if it is not dominated by any other feasible solution. The solutions of (1) that are nondominated in the entire set 𝛺are known as Pareto optimal solutions. Although multiobjective evolutionary algorithms (MOEAs) provide a set of mutually nondominated solutions, they may not guarantee Pareto optimality due to their heuristic nature. They are applicable for problems where mathematical properties (like convexity) cannot be verified, and that is why we use them here. For data-driven optimization, data of feasible design vectors and the corresponding objective vectors must be produced by calling the underlying, that is, the original, objective functions. Fig. 2 presents a general method for addressing an offline data-driven multiobjective optimization problem (MOP). The process starts with the given dataset, and computationally inexpensive surrogate models are constructed using this data. Subsequently, a multiobjective optimization algorithm is employed to solve a modified problem with the surrogates as objective functions (when all objective functions are computationally costly). Certain surrogates such as Kriging (also known as Gaussian process regression) (Rasmussen and Williams,2006) also provide information about the uncertainty in the prediction, which we can refer to as the accuracy of the surrogate. However, it should be noted that the abovementioned generic approach does not utilize uncertainty information in the optimization process. 2.3. Probabilistic approach for RVEA As mentioned in Section 2.1, optimizing the pump design is a datadriven multiobjective optimization problem. Because of the very long simulation times, we mainly focus on optimizing the problem without performing further simulations, that is, in an offline configuration. While solving an offline MOP using the generic approach (described in the previous section), the optimization process does not consider the uncertainty in the prediction of the surrogates. As shown in Mazumdar et al. (2022), using only the mean prediction leads to solutions with a lower accuracy compared to the corresponding underlying (real) objective function values. Applying a probabilistic approach enables incorporating uncertainties related to the quality of the surrogates. It is also promising for incorporating additional ‘‘classification’’ information that can help guide the optimization process and increase its efficiency. Because of the complexity of physical phenomena in the pump operation, creating a complex multi-physical model and obtaining exact numerical predictions for all required objective functions is often very problematic. Instead, simplified simulations are used, and the quality of the design can be estimated by some alternative approaches. Considering this additional information when using standard surrogate models is challenging. However, with a probabilistic approach, it can be added as a part of the selection process. The probabilistic selection approaches for MOEAs, proposed in Mazumdar et al. (2022), are specifically designed to utilize the uncertainty information from Kriging surrogates in the selection process of the evolutionary algorithm. In the reported study, the probabilistic selection approaches produced solutions with a better hypervolume and accuracy compared to their generic counterparts. These approaches are quite flexible and can be embedded in the selection criterion for different MOEAs. In Mazumdar et al. (2022), the approaches were introduced in a general form without fixing the MOEA. In this paper, we utilize probabilistic selection with RVEA (KPRVEA) (Cheng et al.,2016) as the MOEA since it had superior performance in both hypervolume and accuracy in Mazumdar et al. (2022). We extend it to handle infeasible solutions and solve the pump optimization problem later. In what follows, we discuss RVEA and KP-RVEA in brief. 2.3.1. RVEA RVEA (Cheng et al.,2016) is a so-called decomposition-based MOEA that can handle MOPs with a large number of objective functions. It uses reference vectors to decompose the MOP into several sub-problems determined by a set of 𝑁uniformly distributed unit reference vectors 𝐯𝐣,𝑗= 1,…, 𝑁. First, objective vectors are translated to have the best objective function values located in the origin. Next, 𝑁uniformly distributed reference vectors are generated, and each individual in a population is assigned to the closest reference vector. The spatial distance is measured by the angle 𝜃𝑖,𝑗 between the (translated) objective vector 𝐟′ 𝑖and the reference vector 𝐯𝐣. In this way, the population is partitioned into 𝑁subpopulations. RVEA selects one individual from each subpopulation with the minimum angle penalized distance (APD). APD dynamically balances the convergence and diversity of the solutions and is defined as: 𝑑𝑖,𝑗 = (1 + 𝑃(𝜃𝑖,𝑗 ))‖𝐟′ 𝑖‖.(2) Here 𝑃(𝜃𝑖,𝑗 ) = 𝐾(𝑡∕𝑡𝑚𝑎𝑥)𝛼𝜃𝑖,𝑗 ∕𝛾𝐯𝑗is the penalty function dependent on 𝜃𝑖,𝑗 ,𝛾𝐯𝑗is the smallest angle between the reference vector 𝐯𝑗and the other reference vectors and ‖⋅‖denotes the Euclidean norm of a vector. In addition, the variables 𝑡and 𝑡𝑚𝑎𝑥 represent the generation counter and the maximum number of generations, respectively. Meanwhile, 𝛼 regulates the rate of alteration for 𝑃(𝜃𝑖,𝑗 ). For more details, we refer the reader to Cheng et al. (2016). 2.3.2. Kriging assisted probabilistic RVEA For computationally expensive MOPs, such as the pump design problem or purely offline data-driven MOPs, it is necessary to use surrogate models in MOEAs to approximate the underlying objective functions. We apply Kriging models as surrogates since they provide information about the uncertainty in the prediction of objective function values. The proposed approach uses a provided dataset to build Kriging surrogates for each computationally expensive objective function. However, the uncertainty in the Kriging model causes the possibility of making a wrong decision in selecting a worse solution over a better one because we cannot identify for certain which solution is superior. To utilize the uncertainty information from Kriging surrogates, a probabilistic selection approach can be embedded an MOEA like RVEA. In this paper, we refer to the probabilistic selection embedded in RVEA with Kriging surrogates as KP-RVEA (Mazumdar et al.,2022). KP-RVEA uses the uncertainty in the prediction provided by Kriging surrogates in the APD selection criterion of RVEA. In particular, KP-RVEA estimates the probability of a wrong selection of a solution with inferior APD and selects the solutions with the lowest probability of making a wrong decision.
Engineering Applications of Artificial Intelligence 136 (2024) 108897 5 A. Mazumdar et al. Algorithm 1: KP-RVEA Input: Offline data of size 𝑁𝐷;𝑁=number of reference vectors; 𝐺max = maximum number of generations; 𝑆= number of Monte-Carlo samples Output: Solutions 1Build Kriging surrogates using the offline data 2Initialize 𝐺=0 3Create a set of 𝑁uniformly distributed unit reference vectors 𝑉0 4Find the neighborhood for each unit reference vector 5while 𝐺 < 𝐺max do 6Apply crossover and mutation on the current population to generate offspring 7Use the Kriging surrogates to evaluate the individuals and combine the parents and offspring 8Update 𝐺=𝐺+ 1 9Draw 𝑆samples using Monte-Carlo from Kriging surrogates’ predictive distribution 10 Assign each individual to a subpopulation by probabilistic ranking of angles 𝜃𝑖,𝑗 11 Select an individual from each subpopulation using probabilistic ranks of APD 12 end Algorithm 1shows the working of KP-RVEA. First, 𝑆samples are drawn from the posterior predictive distribution of objective function values of the Kriging surrogates for all the individuals in the population. Each of these samples is assigned to a subpopulation with its closest reference vector measured by angles between them and the reference vectors (step 10 of Algorithm 1). Next, each individual is assigned to a specific subpopulation if it has the highest number of samples assigned to that reference vector. Then, from each subpopulation, one individual is selected based on the probabilistic ranking of APD (step 11 of Algorithm 1). The probabilistic selection criterion utilizes APD values (2) of the samples for each individual to estimate the probability density function of APD using kernel density estimation (KDE) (Silverman,1986). In each subpopulation, the individual with the lowest probability rank 𝑅𝑖,𝑗 is selected for the next generation. The rank is: 𝑅𝑖,𝑗 =|||𝑃𝑗||| ∑ 𝑛=1 𝑃 𝑟wrong(𝑑𝑛,𝑗 > 𝑑𝑖,𝑗 )−0.5,(3) where 𝑃 𝑟𝑤𝑟𝑜𝑛𝑔(𝑑𝑛,𝑗 > 𝑑𝑖,𝑗 )is the probability of a wrong selection of the 𝑖th individual over the 𝑛th individual based on their APD values and |𝑃𝑗|is the size of the corresponding subpopulation. In this way, such an individual is selected that has the smallest probability of having higher values of APD over the other individuals in the subpopulation. The selected individuals form the next generation and are used to generate |𝑃offspring|offspring with the crossover and mutation operators. The algorithm is terminated when the maximum number of function evaluations is met, i.e., 𝐺≥𝐺max. For more details, see Mazumdar et al. (2022). 3. The proposed CKP-RVEA approach for probabilistic handling of failed simulations The KP-RVEA approach introduced in Section 2.3.2 is suitable for solving offline data-driven MOPs. However, it cannot handle infeasible or failed simulations while solving problems like the pump design optimization problem. In this section, we describe the proposed probabilistic approach to handle infeasible solutions and illustrate with examples how it works. 3.1. The proposed approach As mentioned, solving an offline data-driven MOP using probabilistic selection approaches is advantageous since it has proved to produce solutions with a higher hypervolume and accuracy (Mazumdar et al., 2022). However, they cannot handle constraints and hence, in their current form, they are unsuitable for solving the pump design optimization problem. To tackle this problem, we modify and extend the probabilistic selection criterion to incorporate a probabilistic constraint handling strategy. We refer to the new approach for constraint handling in probabilistic RVEA with Kriging surrogates as CKP-RVEA. The overall flowchart of the proposed CKP-RVEA approach is shown in Fig. 3. The provided initial dataset consists of the design variable and objective function values. In addition, a separate dataset is provided that includes the design variable values for the simulations whose CFD design generation failed. From these two datasets, we create a classification dataset consisting of design variable values (as features) and the status of the CFD simulation (as output). In what follows, we use labels or classes ‘0’ for failed simulations and ‘1’ for successful simulations. Next, we build a Kriging model for classification using the compiled dataset consisting of design variable values and simulation status. The posterior predictive distribution 𝑃 𝑟failed of the Kriging classification model provides us with the probability of a simulation failing. The MOEA is initialized with its initial population and uniformly distributed set of reference vectors. The new offspring individuals are generated by crossover and mutation operators and the individuals are ranked by their probability of APD selection. The ranks of the individuals are modified by their probability of constraint violation and individuals with the best ranks are selected from each sub-population. The evolution process is continued until the generation counter 𝐺reaches the maximum number of generations (𝐺max). The solutions are later shown to the DM with decision support tools to choose the most preferred solution(s). In what follows, we demonstrate how to utilize the classification probability in the probabilistic selection approach of our MOEA. In Algorithm 2, we present the proposed CKP-RVEA approach with algorithmic terms. We extend KP-RVEA to handle failed simulations based on the constraint handling approach proposed in Jain and Deb (2014). The concept is to utilize the probability of failed simulations of the Kriging model for classification in the selection criterion of RVEA. The approach is similar to the probability of feasibility as proposed previously in Schonlau et al. (1998). We define a set 𝑆𝐼 as the index set of the individuals that have the probability of failure, 𝑃failed >0.5. If all the individuals in the 𝑗th subpopulation (consisting of |𝑃𝑗|individuals) are in the set 𝑆𝐼, we select the individual with the lowest probability of failure, or 𝑃failed. If some individuals have 𝑃failed ≤0.5, then we select the individual with the lowest 𝑅failed 𝑖,𝑗 =𝑃 𝑟failed(𝐱𝐢) 𝑅′ 𝑖,𝑗 . This ensures that only individuals with low probabilistic ranks and a low probability of failure are selected from each subpopulation. 3.2. A simple example As an example, we solve a modified, that is, constrained bi-objective DTLZ2 (Deb et al.,2002) test problem with two design variables in an offline setting to study the behavior of the proposed approach. To emulate the characteristics of failed simulations, we artificially created a bounding box in the design space of the problem. The modified MOP does not provide any solutions (or is infeasible) when evaluated with a design point that is within the bounding box. This can be better understood from Fig. 4(d)–(f), where the infeasible region is defined in the design space by the bounding box. The light blue and pink points denote whether the simulations are feasible or infeasible, respectively. We start with 100 simulations produced by Latin hypercube sampling (LHS). We then build Kriging surrogates for each objective function and utilize three different approaches to solve the MOP: generic RVEA, KP-RVEA, and CKP-RVEA. The generic RVEA approach is identical
Engineering Applications of Artificial Intelligence 136 (2024) 108897 6 A. Mazumdar et al. Fig. 3. Flowchart of the proposed CKP-RVEA approach. Algorithm 2: CKP-RVEA – Handing failed simulations with probabilistic RVEA 1for 𝑗= 1 to 𝑁do 2𝑆𝐼 = ∅ 3for 𝑖= 1 to |𝑃𝑗|do 4if 𝑃 𝑟failed(𝐱𝐢)>0.5then 5𝑆𝐼 =𝑆𝑖∪ {𝑖} 6if |𝑆𝐼|== |𝑃𝑗|then 7𝑘= argmin𝑖∈{1,…,||| 𝑃𝑗|||}𝑃 𝑟failed(𝐱𝐢) 8else 9𝑅failed 𝑖,𝑗 =𝑃 𝑟failed(𝐱𝐢) 𝑅′ 𝑖,𝑗 10 𝑘= argmin𝑖∈{1,…,||| 𝑃𝑗|||},𝑖∉𝑆𝐼 𝑅failed 𝑖,𝑗 11 𝑃next gen =𝑃∪𝐼𝑘 12 end to the generic approach described in Section 2.2 and utilizes RVEA as the optimizer. Generic RVEA and KP-RVEA are considered in the demonstration to measure the effectiveness of the CKP-RVEA approach proposed in this paper. Generic RVEA and KP-RVEA do not have any constraint handling mechanisms, and thus, the solutions they produce can lie in infeasible regions. In Fig. 4, we show the final solutions obtained by the three different approaches. The first three subfigures represent the objective space and the others the design space. The black bounding box in the latter is the infeasible region. The solutions obtained by the three approaches are shown by the dark blue and red points representing the feasible and infeasible ones, respectively. It can be observed that the solutions produced by CPK-RVEA are all blue and, hence, feasible. However, both generic RVEA and PK-RVEA produced solutions that are infeasible or red in color. We can observe similar characteristics in the solutions in the design space. No solutions produced by CKP-RVEA are within the infeasible region (or the bounding box) in the design space. Generic RVEA and KP-RVEA do not consider the probability of feasibility while selecting an individual. The probability of feasibility predicted by the Kriging classification model in CKP-RVEA provides valuable information in the selection process. Hence, the CKP-RVEA approach produces more feasible solutions and avoids the infeasible regions in the design space. This is beneficial from the perspective of running computationally expensive simulations (as only the feasible solutions matter) without wasting resources on infeasible solutions. In an offline data-driven problem setting, the DM has to make decisions based on the objective function values approximated by the surrogate models. Making decisions based on the solutions produced by generic RVEA and KP-RVEA could be misleading as some solutions are infeasible and thus cannot be implemented in the real world. The CKP-RVEA approach avoids the infeasible regions of the MOP, and only feasible nondominated solutions are shown to the DM. 4. Case study: Solving the pump design problem The CKP-RVEA approach was implemented in Python using the DESDEO software framework (Misitano et al.,2021) (https://desdeo. it.jyu.fi).1In what follows, we apply the proposed CKP-RVEA approach to solve the pump design optimization problem. 4.1. Optimization settings The initial dataset for the offline pump design optimization problem consisted of 472 simulation results. Latin hypercube sampling was used to generate the data. This data set was already available and was evaluated prior to optimization with a numerical CFD solver. Out of the simulation data, 390 simulations were successfully generated after evaluation and 82 simulations failed and did not produce any geometry, i.e., they were failed simulation. Two data files were compiled, one consisting of the objective function and design variable values. The other file consisted of the design variable values and a corresponding 1Source code available at https://github.com/amrzr/CKP-RVEA
Engineering Applications of Artificial Intelligence 136 (2024) 108897 7 A. Mazumdar et al. Fig. 4. The solutions of solving the bi-objective constrained DTLZ2 test problem with two design variables with generic RVEA, KP-RVEA, and CKP-RVEA. Figures (a)–(c) show the objective space, and (d)–(e) the design space. The light blue and pink points represent feasible and infeasible samples, respectively, for 100 design points. The dark blue and red points represent the final solutions obtained by the three approaches. The black bounding box denotes the infeasible region in the design space. value of ‘0’ or ‘1’ to indicate whether it was infeasible or feasible, respectively. All the objective functions of the problem were to be maximized. However, for the purpose of representation, we transformed them to be minimized simply by multiplying the objective function values by −1. As in the previous section, we tested generic RVEA, KP-RVEA, and CKPRVEA. The parameters used for RVEA for all three approaches were kept the same (standard parameter settings) as per the recommendation in Cheng et al. (2016). We used a Kriging surrogate model for each objective function with a Matern 5/2 kernel and automatic relevance determination enabled as proposed in Mazumdar et al. (2022). All the approaches were run for a maximum of 5000 generations. For KP-RVEA and CKP-RVEA, we used S = 1000 as the number of Monte-Carlo samples drawn from the predicted distribution of Kriging surrogates. The approaches use these samples for the probabilistic selection process. 4.2. Pump design optimization results We first solve the pump design problem with the generic RVEA approach that uses neither uncertainty nor classification of feasibility information. The optimization is performed on surrogates based on all the provided data of 390 successful simulations resulting with 57 nondominated solutions. After solving the surrogate problem, the solutions are evaluated with computationally expensive numerical simulations. Note that in practice, while solving an offline data-driven MOP, we may not be able to evaluate the solutions with the underlying objective functions. Here, we evaluate the designs found (using surrogates in optimization) using underlying objective functions to examine the efficiency of different approaches and the quality of the produced solutions. As a result of the optimization with the generic approach, only two nondominated were successfully generated, and the rest were infeasible. Therefore, the generic selection strategy needed to be revised. We then applied the probabilistic approach KP-RVEA that incorporates uncertainty information to improve the accuracy of the surrogate models. In this case, 40 nondominated solutions were generated. However, only eight solutions could be successfully evaluated by running CFD simulations, and 32 solutions failed. The simulation failures with most of the solutions generated by the generic and probabilistic approaches showed that a modification in the Table 2 Performance of the different approaches in solving the pump design optimization problem in terms of the ratio of feasible solutions, hypervolume and root mean squared error (RMSE) indicators. Feasibility ratio Hypervolume RMSE Generic RVEA 3.60% 6.58e+5 9.54 KP-RVEA 20.50% 6.77e+5 10.03 CKP-RVEA 78.30% 7.13e+5 7.89 selection criteria is needed. This shows that a classification model was to be incorporated into the selection process to improve the quality of the solutions. We then applied the proposed approach CKP-RVEA with the new selection strategy and obtained 47 solutions to the surrogate problem. From there, the number of failed simulations was reduced to 11, and 36 simulation designs were successfully generated. These experimental results showed that the proposed probabilistic failure handling approach with modified selection criteria was considerably better in producing feasible solutions and effectively utilized the classification information from the Kriging surrogates. A comparison of the three optimization approaches in terms of various indicators is shown in Table 2. We use the ratio of feasible solutions to the total number of solutions to measure the performance in producing feasible solutions. The hypervolume indicator measures the convergence and diversity of the solutions. The hypervolume was computed after evaluating the solutions with the simulator. The negative of the evaluated objective values was used to compute the hypervolume with the reference point of (0,0,0). The multivariate root mean squared error (RMSE) indicator shows the accuracy of the solutions found in the surrogate objective space compared to when they were evaluated with underlying objective functions. In this paper, we used the multivariate RMSE formulation described in Mazumdar et al. (2022). It should be noted that both hypervolume and RMSE indicators were computed on feasible solutions. It can be observed that the proposed CKP-RVEA approach produced solutions with a better feasibility ratio, hypervolume, and accuracy. This is primarily because the other approaches did not have any mechanism to avoid the regions in the design space that have a high probability of producing failed simulations. CKP-RVEA tackled this challenge with the probabilistic constraint handling and selection strategy to produce more feasible solutions. As more feasible solutions
Engineering Applications of Artificial Intelligence 136 (2024) 108897 8 A. Mazumdar et al. Fig. 5. Solutions obtained by generic RVEA, KP-RVEA, and CKP-RVEA shown in the first, second, and third rows, respectively. The first column shows the solutions in the surrogate objective space. The second column shows the underlying objective function values (after CFD simulations). The last column shows the design variable values of the solutions found by the approaches. existed, the overall hypervolume was greatly improved over generic RVEA and KP-RVEA. Fig. 5 shows the solutions found by generic RVEA, KP-RVEA, and CKP-RVEA in the first, second, and third rows, respectively. The first column shows the solutions in the surrogate objective space while the second column shows the objective values of the solutions after the CFD simulations. The last column shows the design variable values of the solutions found by the approaches. The solutions in red represent the ones that failed the CFD simulations and the blue ones are feasible. It can be observed that the number of failed simulations is relatively high with generic RVEA and KP-RVEA compared to CKP-RVEA. The working of the proposed CKP-RVEA approach can also be analyzed by observing the solutions in the design space. It can be observed that these solutions avoid lower values and higher values of design variables 𝑥3and 𝑥6, respectively, which boosts its feasibility ratio. Overall, avoiding the failed simulations improved the optimization process and saved significant resources. While the failures can be ignored when building the surrogates (as long as there is at least one new set of objective functions to make the update), it means wasting computation resources. In addition, a high failure rate can also make decision-making difficult, as the selected designs are likely to fail. 4.3. Decision making While solving an offline data-driven MOP, decisions are made by observing the solutions obtained by utilizing the surrogates as objective functions. Hence, the solutions are approximations, and the decisions are made on uncertain objective function values. The proposed CKP-RVEA approach presents a set of solutions to the DM that are approximated by Kriging surrogates and have uncertainty in the prediction (as standard deviation). The DM, a domain expert in pump design optimization, was interested in observing the worst-case objective function values instead of the predicted mean objective function values for making decisions. Hence, we presented him with two types of scatter plot matrices, as shown in Fig. 6. The first type showed the pairwise objective-wise predicted mean objective function values. The second type showed the 95% upper confidence bound of the predicted objective function values. It should also be remembered that all the objective functions here were minimized, and the DM was comfortable making decisions in such a setup. The visualizations were interactive and indicated the objective function values and the upper confidence bounds of the solutions when the DM hovered and clicked on a specific solution of interest. The solutions were color-coded based on the average uncertainty in the solutions (darker is lower uncertainty). Figs. 6 (a)–(c) show the three solutions that were chosen by the DM as the most preferred ones. The three chosen solutions displayed the best combination of high mean objective function values (of predicted efficiencies) and reasonably low uncertainty of these predictions, represented by the uncertainty intervals. As the intention was to improve the 𝑓1value, and according to prior knowledge 𝑓3is mildly correlated with 𝑓2, during the selection, more attention was paid to 𝑓1and 𝑓2. The selected solutions were then validated using the underlying CFD simulations. Selecting three solutions was seen as a reasonable compromise between the computation cost and increasing the chance of selecting the best possible solution. In Fig. 7, we show the solutions as seen by the DM in the surrogate objective space in blue. The solutions chosen by the DM are shown in red; the exact solutions after the simulations are shown in green. The arrows show the mapping of these solutions representing their movement in the objective space when they were evaluated. As can be observed, the underlying objective function values were worse than the surrogate objective values. This behavior is expected in an offline data-driven multiobjective optimization problem as the surrogates have approximation errors, and the approximation error cannot be improved with new solutions.