1 Introduction

Wire-cut EDM is widely used for the production of metal components, especially for materials of great hardness that are difficult to machining by use of the other techniques [1, 2]. This technique raises manufacturing capabilities, improves quality, and speeds up operations. Wire-cut EDM is capable of achieving very high tolerances and making complex, three-dimensional cuts with intricate features. Therefore, it reduces the need for further processing and finishing of parts, which is sometimes necessary with other manufacturing methods. Wire-cut EDM is capable of providing predictable and repeatable results. Manufacturers use the wire-cut machine for a variety of tasks due to its multi-functionality. Knowing its ability to cut tiny parts, wire-cut EDM is often an ideal option for manufacturing small and detailed items, which is usually very difficult to accomplish by other techniques. In addition, this process is cost-effective for small-scale projects. It can be suitable for fabricating models and prototypes, even if the main project is carried out by other procedures [3, 4].

Due to the importance of the optimal output of the wirecut process, many articles have been published in the past and recent years to select the process settings in order to achieve the optimal output. The input parameters and settings of the wirecut have undergone changes with the advancement of machines, the invention of new materials and algorithms, along with the new specific needs. The most important and most frequent of these parameters are: pulse on time, pulse off time, peak current, Servo voltage, wire feed rate, wire offset, dielectric pressure, wire type and, bed speed [5, 6]. On the other hand, according to the intended application, each research has subjected one or more dependent output variable to the optimization process.

In a research in 1997, Liao and Woo studied the effects of machine settings on material removal rate (MRR) and surface roughness (SR) [7]. In 2001, Lin et al., have optimized the accuracy of the machined part by using a fuzzy approach and adjusting the process parameters [8]. After that in 2005, Lin and Lin, investigated how to achieve the best value of SR by combining grey theory and fuzzy logic [9]. In 2008, Sarkar et al., optimized SR of γ-TiAl parts in a trim cutting operation [10]. In another effort in 2013, Rajyalakshmi and Venkata Ramaiah, performed a multi-objective optimization for parts made of Inconel 825 with machine settings as independent variables and MRR, SR, and spark gap (SG) as dependent variables [11]. In the same year, Rao and Krishna studied the best input settings to optimize the values of wire wear and kerf width using harmony search for ZC63/SiCp MMC [12]. Also, Durairaj et al. optimized SR and Kerf by using GRA [13], and then Shayan and others by applying RSM for SR, overcut, and cutting speed [14]. In 2014, in two different studies, Mohanty et al. optimized MRR and SR outputs for Inconel 718 [15], and then, Sultan et al. did the same for MRR and electrode wear rate (EWR) [16], both using the Box-Behnken in RSM. In the same year, Tilekar et al., by using Taguchi orthogonal arrays for SR and Kerf outputs [17], Ugrasen et al. by training an artificial neural network for MRR, SR, and dimensional accuracy [18], and Mathew et al. by utility concept for MRR, SR, and the dimensional accuracy [19], published their research results. In 2015, Hourmand et al. represented an Investigation of input parameter effects on Al-Mg2Si metal matrix composite (MMC) for high MRR and less EWR by applying RSM [20]. Then, Dongre et al. performed an optimization on SR, kerf, and dimensional accuracy for silicon wafer slicing by the same approach [21]. Reddy et al. used GRA to achieve the best point for MRR, SR, and kerf for wire EDM on Aluminum HE30 [22]. For the same outputs, in wire cutting of ceramic particulate reinforced Aluminium matrix composites, Patil et al., used Taguchi orthogonal arrays in 2016 [23]. Then, Dabade and Karidkar, optimized the same outputs along with dimensional accuracy, by the same method for Inconel 718 [24]. In 2017, Gurupavan et al. worked on estimation of SR, accuracy, volumetric MRR, and EWR based on the inputs of the wirecut machining. The material was Aluminum silicon nitride composite and the estimation tool was a sophisticated diagnosing method like Artificial Neural Network (ANN) [25]. Then, Kumar et al. performed a multi-objective optimization using NSGA-II on MRR, SR, and kerf for Inconel 718 parts [26]. Majumder et al. selected SR and machining time as outputs and find their best values by applying RSM combined with PCA-GRA. Here, the material was Inconel 800 [27]. In 2018, Sen et al. used artificial neural network models to predict cutting speed, SR, and wire consumption for effective modeling. Fuzzy logic is applied for converting the multi-objective problem into a single objective one. Both teaching–learning-based optimization (TLBO) and GA help for further parametric optimizations [28]. Also, Ramanan and Dhas used a grey fuzzy technique to optimize MRR and SR for WEDM of AA7075-PAC composite parts [29]. Pramanik et al., 2019, presented research to examine the influence of a wide range of machining variables on the morphology of machined surfaces during WEDM of Ti6Al4V alloy. In addition, they analyzed SR, kerf width, discharge gap, MRR, and degradation of wire electrodes pertaining to input variables [30]. In an article in this year, Pramanik et al. presented the results of their studies on optimizing the dimensional accuracy of the wirecut process of titanium alloys according to input settings. Here, Pareto analysis of variance (ANOVA), Taguchi design of experiments (DoE), and traditional analysis estimate the influence of variables [31]. In 2020, Chaudhari et al. applied ANOVA and an Integrated Approach of RSM–GRA for Pure Titanium parts to optimize MRR and SR. They stablished a mathematical regression based model for MRR and SR, and integrity of their manufactured samples finally checked by SEM [32]. Also, Rathi et al. performed a Grey relational analysis to obtain an optimal combination of WEDM parameters to maximize the cutting rate while minimizing SR for shape memory alloys. Predicted values obtained at an optimal condition have been validated by experimental results [33]. Devarasiddappa et al. studied on an experimental investigation of WEDM using TLBO. The experiments was designed by applying Taguchi L16 and the optimized output was SR [34]. In another study, Palanisamy et al. optimized MRR, SR, and Tool Wear Rate (TWR) for LM6-Alumina Stir casted MMC using GRA [35]. Kumar et al. [36] investigated WEDM of Nimonic alloy 75 and studied the effects of machining parameters on selected process outputs using the Taguchi method. They presented optimum parameter sets for each of their selected outputs to be optimized. Various specific output parameters have been chosen as an indication of process performance. In the other study, Jahare et al. [37] Developed mathematical models based on experimental results to determine the relationship of machining parameters on the material removal rate and cutting width as a measure of process performance. In 2021, Sibalija et al. studied on optimization of SR, Gap current, and cutting speed using a soft-computing method. Here, the Bayesian regularized neural network established a highly accurate process model that was engaged as the objective function for optimization. Particle swarm, TLBO, grey wolf, and Jaya algorithms were used to find the best setting [38]. Goyal et al. [39] used an adaptive neuro-fuzzy inference system and NSGA-II to find relations between process input and output parameters, minimize the value of WWR, and maximize the MRR in WEDM of Ti–6Al– 4 V titanium alloy. Kumar et al. [40] demonstrated the optimization by implementing regression, weighted sum method, Analytic Hierarchy Process (AHP), and Genetic Algorithm (GA) to identify optimum parametric settings MRR, Spark Gap (SG), and SR. Phate et al. [41] employed principal component analysis coupled with an artificial neural network in their research work to perform a multi-response optimization of the WEDM process of Aluminum Silicate metal matrix composite. The investigated outputs in their work were MRR, kerf width, and SR. Some of the parameters that have been frequently reviewed in articles as process outputs include material removal rate [42], geometrical accuracy [43], surface roughness [44], cutting width (kerf) [45], cutting speed [46]. In 2022, Ashish Chaudhary et al. studied on the effects of adjusting machine parameters on MRR and SR for ASSAB 88 tool steel by combining RSM and full factorial method, then generation of regression based equations [5]. Also, Kumar et al. performed Experiments on WEDM using Taguchi L16 orthogonal array-based experimental design to determine the effect of WEDM process on the MRR, SR, and corrosion rate (CR) response parameters of ZE41A Magnesium alloy by applying GRA [47]. Raj et al. published an article investigating the best arrange of input parameters for optimum values of MRR and SR. They used Box-Behnken design of response surface methodology, and finally anatomized surface topography of the post processed workpiece using SEM [48]. Another study was performed by Sinha et al. that optimized MRR and SR for Inconel 625. Here, the modeling method was based on Taguchi L16 and RSM. The desired setting was obtained using a Multi-Objective Grasshopper optimization algorithm (MOGOA) [49]. In the same year, N. Kumar et al. represented a review article about various parameters of WEDM using different optimization methods and concluded that MRR and SR are the most repeated output parameters [50].

Reviewing the current literature shows that the issue of optimizing the parameters of the wirecut process has been widely done using different methods. Also, especially in recent years, multi-objective optimization have been subjected to great interest. Here, the output is an optimal Pareto-front with many points, each of which can be an optimal point alone. In the review of the literature, there is no clear policy for choosing such a point on the Optimal Pareto-front, and mostly case-dependent methods are used that do not have the necessary comprehensiveness. Due to the service-oriented nature of the wirecut process, the key to solving this problem lies in a concept called customer satisfaction. For example, a customer may not request very tight tolerances and high precision, but the service price is very important to him/her. Another customer is not concerned about the price, but needs a very high quality final surface. Besides, the weight of these degrees of importance can be very different. Therefore, it is necessary to know the expectations of each customer in a completely specific way and to determine their priority. On the other hand, in today's competitive market, the essence of any business success is customer satisfaction [51, 52]. The competitive advantage of any company is to better identify customer needs and better meet them [53]. Customer satisfaction comes from their mental evaluation and will be provided when they have options that are appropriate or even beyond their expectations [54, 55]. In other words, it can be said that customer satisfaction is a measure of meeting his/her expectations of the requested product or service [56]. So, companies can determine their customers' needs and measure their satisfaction based on perceived quality as a strategy of continuous service/product enhancement [57].

Customer satisfaction does not have a general formula or fixed global standard and is unique from one customer to another and even for different projects of a single customer [58, 59]. For example, one customer may concentrate on surface roughness as the most crucial output parameter due to their particular application. While for another customer, the overall cost may be the first and most important priority. Therefore, a combination of parameters that lead to the customer’s desired outcome should be used to obtain customer satisfaction [60]. To achieve the predetermined outputs, the only tool of a wirecut service provider is the machine settings. Of course, this settings appear with different effects, by varying the machines and conditions. Therefore, the correlation of input settings and the output characteristics should be identified for each specific machine and adjusted in the optimal mode to produce the desired output.

Accordingly, the overall goal of this research can be summed up as “finding the best input settings of the wirecut process in a way that is maximally compatible with the customer’s demands”. This can be broken down into three sub-goals (step goals) as follows:

  • Defining customer satisfaction according to characteristics of providing wirecut services and determining a measurable, valid, and reliable index for it.

  • Representing a systematic, simple, flexible, fast and updateable algorithm to receive customer needs.

  • Providing an optimization algorithm with low computational cost, user-friendly and with the priority of finding optimal points close to the overall optimum.

It should be emphasized that the purpose of this research is not to repeat the previous studies done in order to maximize the technical features of the wirecut process or to present a new technical method in this case. Our goal is to align the output of the service process with customer expectations in order to maximize customer satisfaction. This issue keeps the customer and as a result the possibility of continuing the life of the economic enterprise and earning more profit. To check the effectiveness and efficiency of the proposed algorithm in customer satisfaction, this issue should be measured using a documented and standardized method that has sufficient validity and reliability. Finally, the defined indicators for customer satisfaction with and without applying the proposed algorithm should be calculated and its changes reported.

In this paper, Sect. 2 describes the materials and methods. Section 2.1 explains the requirements of defining and measuring customer satisfaction, including the preparation of a questionnaire, its validity and reliability, and then the indicators based on which customer satisfaction will be monitored without and with the implementation of the proposed algorithm. In Sect. 2.2, the algorithm is described in 5 steps, then its operation flow is graphically displayed in a flowchart. Section 3 deals with the results and their discussion. This section first (in 3.1 to 3.4) describes how to prepare a questionnaire for wirecut services and numerical measurement of its validity and reliability. After that, the design and implementation of the experiments will be reviewed and discussed. The final numerical results of optimization of the extracted desirability function are presented in Sect. 3.5. Then in 3.6, monitoring of the customer satisfaction indicators are presented in detailed numerical form and the effectiveness and efficiency of the process are discussed. Finally, Sect. 4 presents the conclusion and future research.

2 Materials and methods

2.1 Customer satisfaction

2.1.1 Definition of customer satisfaction

There are several definitions of customer satisfaction in different fields. A comprehensive and common definition is the degree of customer happiness after receiving a product or service and comparing it with his/her expectations. It means that the quality of the product or service received was as much as expected or even beyond it [61,62,63].

2.1.2 Developing of the questionnaire

The tool for measuring customer satisfaction is often a questionnaire that includes constructed questions. The basis of this questionnaire is several theories in marketing and business [64]. Customer satisfaction is usually obtained from the competitive advantages of a product or service compared to competitors. For the customer, these are of two types: hedonic benefits, which are sensory and experiential, and utilitarian benefits, which are instrumental and practical [65]. The questions of the customer satisfaction questionnaire are usually done in the form of multiple-choice on the odd Likert scale which is symmetric and can express qualitative variables in a quantitative form. In addition, the questions should be designed in such a way that they all be in the same direction (options of all questions from the lowest intensity to the highest one or all vice versa) [66, 67]. It is also necessary that the questions of the questionnaire be simple, short, clear, and precise and not that it takes a lot of time to answer them.

Another issue is that the questionnaire should measure exactly the variable it is intended to measure, on the other hand, it should be generalizable to the target population; which means that it should have validity. In addition, the questionnaire should have reliability or reproducibility; That is, if it is repeated after some time (with constant situations), the results will not show many changes [68].

The most famous validity indicators of a questionnaire is Content Validity Ratio (CVR). To calculate the CVR, the designed questionnaire should be given to a number of experts in the related field. Then ask them to select one of these three choices for each question: (a) “necessary”, (b) “useful but not necessary” or (c) “not useful and not necessary”. So, CVR is obtained from Eq. (1):

$$ CVR = \frac{{\left( {ne - \frac{N}{2}} \right)}}{\frac{N}{2}} $$
(1)

where ne is the total number of experts who choose “a” or “b”, and N is the total number of experts [69, 70]. The minimum acceptable value for CVR is according to the table presented by Lawshe in 1975 [71].

On the other hand, the most important criterion for measuring the reliability of a questionnaire is Cronbach’s alpha, which examines the internal consistency of a set of items. This coefficient calculates the correlation of the score of each item with the total score of each observation (usually individual respondents) and then compares it with the variance of all items [68, 72]. Cronbach's alpha is a number between 0 and 1, where 0 means the independency of all items from each other and 1 means the full dependency of them (that is, they have a common covariance and probably measure the same concept). Cronbach’s alpha can be calculated through various software such as Minitab and SPSS. In general, the acceptance threshold for this coefficient (for applications similar to this research) is about 0.65 [73].

Before conducting the main survey, the validity of the questionnaire is checked by surveying a group of experts in that field and the relevant indicators will be calculated. Also, reliability measurement is done by implementing a pilot survey on a small group similar to the target population. After verification of the questionnaire, the main survey can be done.

2.1.3 Customer satisfaction index

Several indicators have been introduced to measure customer satisfaction. Literature review shows that the most widely used indicators are CSAT, CSS and NPS [74, 75]. If we use a 5 points Likert scale for the questions of customer satisfaction questionnaire, where 1 represents the lowest and 5 represents the highest level of satisfaction in each question, CSAT is calculated according to (2):

$$ {\text{CSAT}} = \frac{{\frac{1}{5}\sum\nolimits_{i = 1}^{N} {x_{i} } }}{N} \times 100 $$
(2)

where CSAT is customer satisfaction index, xi is the score of each question, and N is the total number of questions.

In this questionnaire, the CSS index is calculated with Eq. (3):

$$ CSS = \frac{{N_{s} }}{N} \times 100 $$
(3)

where CSS is Customer satisfaction score, Ns is the total number of questions that have received a score of 4 or 5 (that is, they have exceeded the threshold of customer satisfaction), and N is the total number of questions.

Also, if the customers are asked on a 10-point Likert scale (1 shows the least intensity and 10 is the most), how willing are you to introduce our product or service to your friends? If we call the customer “detractor” for scores 1 to 6, “passive” for 7 and 8, and “promoter” for 9 and 10, the NPS index is obtained from Eq. (4) as follows:

$$ NPS = \frac{{N_{p} - N_{d} }}{N} \times 100 $$
(4)

where NPS is net promoter score, Np and Nd are number of promoters and detractor, respectively, and N is the total number of questions.

Customer satisfaction indicators should be measured once before the implementation of the proposed algorithm and again sometime after the implementation, and the results should be compared with each other.

2.2 The proposed algorithm

The proposed working method in this research includes the following steps:

Step 1 Identify and selecting of the input parameters.

To do this, two sources are used: first, reviewing the literature and searching for articles in this field, especially in recent years, and preparing a list of the most frequently repeated parameters. Second, check the settings on the wire cut machine, which can be achieved by field surveys [76]. Note that the articles should be up to date in order for the selected parameters to be valid. Suppose that X = [xi] is the input vector, where xi’s are the input parameters and i = 1 to n.

Step 2 Identify and selecting of the outputs.

Due to the fact that the outputs can vary for different industrial categories, clients and projects, it is necessary to prepare a list of possible outputs by surveying experts, reviewing literature and searching for articles of recent years. Then, present it to the client and ask to select the outputs that are important for this particular project.

Now consider Y = [yj] as the output vector, when yj’s are the outputs, j = 1 to m, and m is the total number of outputs.

Step 2 Making fitness function.

The outputs are divided into two categories, "quality outputs" and "cost outputs" and denote them with Yq and Yl, respectively. If the total number of quality outputs is Q and the total number of cost outputs is L, we will have:

$$ m = Q + L $$
(5)

To obtain the relative importance of the quality outputs based on Analytical Hierarchy Process (AHP), we request the customer to complete matrix R of Eq. (6):

$$ R = \left[ {\begin{array}{*{20}c} 1 & {r_{12} } & \cdots & {r_{1Q} } \\ {r_{21} } & 1 & \cdots & {r_{2Q} } \\ \vdots & \cdots & \ddots & \vdots \\ {r_{Q1} } & {r_{Q2} } & \cdots & 1 \\ \end{array} } \right] $$
(6)

where R is the pairwise comparison matrix and, rij denotes the relative importance of criteria i comparing with j. The relative importance of criteria j comparing to i can calculated by Eq. (7):

$$ r_{ji} = \frac{1}{{r_{ij} }},\;{\text{and}}\;r_{ii} = r_{jj} = 1,\;{\text{for}}\;r_{ij} > 0,\;i,j = 1,2, \ldots ,Q. $$
(7)

And wq, the relative weight of each quality output is calculated by Eq. (4). As it can be seen, wq is the geometric mean of q-th row of the matrix R.

$$ w_{q} = \left\{ {\mathop \prod \limits_{j = 1}^{Q} r_{qj} } \right\} ^{{\left( {\frac{1}{{\text{Q}}}} \right)}} $$
(8)

Then, the overall quality function Yq is defined as Eq. (9):

$$ Y_{Q} = \left\{ {\prod\limits_{q = 1}^{Q} {y_{q}^{{w_{q} }} } } \right\}^{{\left( {\frac{1}{{\sum\nolimits_{q = 1}^{Q} {w_{q} } }}} \right)}} $$
(9)

After it, we define the fitness function (final output as a vector) by Eq. (10):

$$ F = f \left( {x_{i} } \right) = \left\{ {\begin{array}{*{20}c} {Y_{Q} } \\ {Y_{L} } \\ \end{array} } \right\} $$
(10)

This function should be subjected to an optimization process.

For example, qualitative outputs may include “dimensional accuracy” with the symbol y1, “amount of warpage”, and “wall roughness” with the symbols y1, y2, and y3 respectively. These outputs are presented to the customer in the form of Table 1 (unfilled) to make pairwise comparisons. Suppose that on a scale of 1 to 5, the relative importance of y1 to y2 is 4, y3 to y2 is 3, and y1 to y3 is 2.

Table 1 Pairwise comparison table that is completed by the customer

The other cells in Table 1, are filled using Eq. (7). The matrix of pairwise comparisons, R, will be as Eq. (11):

$$ R = \left[ {\begin{array}{*{20}c} 1 & 4 & 2 \\ {0.25} & 1 & {0.5} \\ {0.5} & 2 & 1 \\ \end{array} } \right]. $$
(11)

Then, using (8), w1 = 2, w2 = 0.91, and w3 = 1. So, according to (9), Yq is as Eq. (12):

$$ Y_{Q} = \left( {y_{1}^{2} y_{2}^{0.91} y_{3}^{1} } \right)^{(1/(2 + 0.91 + 1))} = y_{1}^{0.51} y_{2}^{0.23} y_{3}^{0.26} . $$
(12)

If we show the cost output by y4, F is the fitness function:

$$ F = f \left( {x_{i} } \right) = \left\{ {\begin{array}{*{20}c} {y_{1}^{0.51} y_{2}^{0.23} y_{3}^{0.21} } \\ {y_{4} } \\ \end{array} } \right\}. $$
(13)

This is very similar to the operations that are performed in the QFD process in the design of engineering products, but the service nature of this work and the cumbersomeness of the QFD steps create limitations in this case. Therefore, here we are satisfied with the definition of a desirability function using a method similar to QFD.

Step 3 Obtain the equation of each output in terms of inputs.

To do this, we use “Full quadratic regression”, which is a common method of correlating parameters. Before that, we need to collect experimental data.

Considering that performing the experiments using “full factorial” method is very complex, time consuming, and therefore practically uneconomical, the Taguchi orthogonal arrays are used in the design of experiments. Here, according to the nature of each output, one of the following three strategies is used in the analysis of variance:

  • Larger is better

  • Smaller is better

  • Nominal is the best

After obtaining the output of Taguchi algorithm (signal to noise ratio), for each output, low-impact input parameters can be eliminated. This way a simpler regression equation can be achieved. The general form of a full quadratic Regression Equation is as Eq. (14):

$$ y_{j} = c_{j} + \sum\limits_{i = 1}^{n} {a_{ji} x_{i} } + \sum\limits_{i = 1}^{n} {\sum\limits_{p = 1}^{n} {b_{jip} x_{i} x_{p} } } $$
(14)

when xi and xp are inputs, yj is the output (1 ≤ j ≤ m), cj is a constant, and aji, and bjip are coefficients of the terms. Equation (14) can be presented in the Matrix form as Eq. (15):

$$ Y = \left[ {y_{j} } \right] $$
(15)

And in expanded form is shown in Eq. (16):

$$ \left\{ {\begin{array}{*{20}c} {y_{1} } \\ \vdots \\ {y_{j} } \\ \vdots \\ {y_{m} } \\ \end{array} } \right\} = \left\{ {\begin{array}{*{20}c} {f_{1} \left( {x_{i} } \right)} \\ \vdots \\ {f_{j} \left( {x_{i} } \right)} \\ \vdots \\ {f_{m} \left( {x_{i} } \right)} \\ \end{array} } \right\} $$
(16)

where the total number of coefficients to be calculated is “m × (1 + n + n2)”, while m is the number of inputs and n is the number of outputs. For example, in a system with 4 inputs and 3 outputs, the total number of coefficients to be calculated is 3 × (1 + 4 + 42) = 63.

Step 4 Optimizing the results.

To optimize machining processes, there are two main methods: classical techniques that include the design of experiments and iterative mathematical search, and modern techniques that are based on metaheuristic methods and problem-specific heuristics. Traditional techniques have a high computational cost, and the risk of non-convergence or falling into the trap of local extremes, so the use of modern techniques has been of great interest, especially in recent decades [77]. Among the modern techniques, the most well-known and widely used method is the genetic algorithm (GA), which is based on metaheuristic search. One of the advantages of genetic algorithm optimization is avoiding convergence to local Max. Or Min. and finding the global optimum in the search space [78]. In addition, this method is able to optimize more than one parameter in a single algorithm. This feature is very important for research in the field of machining, because, the number of machine input parameters, usually is very large. Also, the search results in the genetic algorithm can be limited in the range determined by the user, which makes the user more flexible in his choices for the machine and avoids falling into extremes [79]. A review of the existing literature shows the wide application of this algorithm for machining processes such as in Turning [80,81,82], Drilling [83], Ball end milling [84], Multi-pass milling [85], Micro tuning [86], Abrasive wafer jet machining [87], and Wirecur EDM [88, 89].

Here, the optimization process is implemented on a vector function F, with n inputs and 2 outputs, subject to the boundary conditions, using a multi-objective genetic algorithm. Obviously, the output of this step will be a 2-dimensional optimal Pareto front. Each point on this curve represents an optimal state and the customer will have a visual conception from the outputs and the possibility of selecting based on his/her demands.

Another point that should be noted is the effect of the initial settings of the genetic algorithm on the obtained answer. These parameters include Population size, Selection Function, Crossover Fraction, Mutation Function, Max. Iteration limit, and Function Tolerance, where the most effective of which are Population size, and Crossover Fraction [90]. In order to get the best settings, it is necessary to level these two parameters in the DOE process (for example, using the Taguchi method) and after normalizing the obtained responses, their best levels are selected from the signal-to-noise diagram to optimize the main problem.

Step 5 Obtaining the input settings for maximum customer satisfaction.

As mentioned in step 4, each point on the resulting Pareto Front can be a point with maximum customer satisfaction. At this stage, the Pareto Front chart is provided to the customer so that he/she can select a point on it by comparing the importance of price and quality for his/her work. Then we need to reverse step 4 and get a combination of inputs, so that by applying them to the machine settings, the desired values of YL and YQ are obtained in the output. Obviously, presenting the Pareto Front in a normalized form will give a better perception to the customer.

Figure 1 shows the flowchart of the proposed method in summary.

Fig. 1
figure 1

Flowchart of the proposed method

3 Results and discussion

3.1 Developing of the questionnaire

Before implementing the proposed algorithm, it is necessary to design a customer satisfaction questionnaire for wirecut machining services and prove its validity and reliability. Considering the characteristics mentioned in Sect. 2.1.2, a questionnaire was developed as shown in Fig. 2. In this questionnaire, the first 5 questions are designed with a one-way, 5-point Likert scale. These are used in the calculation of CSAT and CSS indicators. The sixth question is to measure the NPS index and is based on a 10-point Likert scale. To measure the validity of the questionnaire, 11 experts, including 5 wirecut service providers, 3 mold makers, 2 machine developers, and 1 design engineer, were asked to rate the necessity and usefulness of questions 1 to 5 based on Sect. 2.1.2. The obtained results are shown in Table 2. As can be seen, the values of ne, N, and CVR (Based on Eq. (1)) have been calculated in the last three columns of the table for each question and then in the last row as a cumulative score.

Fig. 2
figure 2

The Developed questionnaire for customer satisfaction

Table 2 Results of validity measurement of the questionnaire

Based on the Lawshe table and with linear interpolation, the acceptable threshold for CVR for 11 samples, is 0.594, which confirms the validity of each question and the overall validity of the questionnaire.

To measure the reliability of the questionnaire, according to Sect. 2.1.2, a survey was implemented on a test group that has the role of a pilot of the target population, and Cronbach’s alpha was calculated for it. In this study, the pilot population was 18 people, including 10 mold makers, 6 machine developers, and 2 design engineers. The results obtained are listed in Table 3.

Table 3 Results of Reliability measurement of the questionnaire

Using Minitab software, the value of Cronbach's alpha for the data of Table 3 is 0.8913, which is higher than the acceptable minimum (0.65 to 0.8). Therefore, the reliability of the created questionnaire is proven.

The proposed algorithm was implemented on a case study. Properties of the equipment, Device, Materials, and the customer survey are described in the Sect. 3.2.

3.2 Design and implementation of the experiments

In this research, experiments are performed on a Charmilles Robofil 310F wire-cut EDM machine. Figure 3 shows this Machine with its specifications.

Fig. 3
figure 3

Charmilles Robofil 310F wire-cut EDM machine, 1994, Poland, CNC type, Axis shift in X-Direction: 400 mm, Axis shift in Y-Direction: 250 mm, Z-axis travel: 400 mm, Stroke of the U axis: 400 mm, Stroke of the V-axis: 250 mm, taper capacity: 0.1 to 0.3 mm

A coordinate measuring machine (CMM) and a digital surface roughness tester are used to measure the dimensional accuracy and surface roughness of the samples, respectively. In this process, the electrode is a brass wire with a diameter of 0.25 mm.

According to steps 1 and 2, by reviewing the literature mentioned in the introduction section, the most frequent input and output parameters of WEDM process can be presented as Table 4.

Table 4 Important input and output parameters of wire-cut EDM

Inputs can vary because of machine type and accessory availability and outputs can vary according to the customer's requirements. considering the available machine, peripherals, and materials for testing, the selected input parameters are Pulse-on Time, Pulse-off Time, Bed-Speed and, No. of Cuts. Although Taper angle and Material are input parameters, they completely depend on the geometry and inherent characteristics of the work piece and are practically constant, so their optimization is meaningless. Duo to the effects of these last two parameters on the outputs, we should consider them as settings that are fixed in a specific project, but may change from one project to another. Then, based on the customer survey and according to the characteristics of the project in hand, the selected output parameters from Table 4 are Dimensional Accuracy, Surface Finish, Material Removal Rate, Final Price and, Delivery Time. Accordingly, 3 outputs are considered as the relative dimensional error (ERR), which includes the Dimensional Accuracy, surface roughness radius (Ra), which is a measure of the Surface Finish, and MRR, which includes all 3 parameters of Material Removal Rate, Final Price and, Delivery Time. MRR is a function of machining time, cutting area, and sample thickness and is calculated based on Eq. (17):

$$ MRR = \frac{{K_{f} \cdot t \cdot L}}{{T_{C} }} $$
(17)

where Kf is machining width, t is specimen thickness, L is machining length, and Tc is the machining time.

After selecting the outputs, a table is provided to the customer and he/she is asked to make pairwise comparisons between the qualitative outputs and enter their relative importance on a scale of 1 to 5. The results are shown in Table 5.

Table 5 Pairwise comparison table of the case study that is completed by the customer

Suppose that ERR and Ra are denoted by y1 and y2 respectively. Therefore, based on Eq. (10) and Eq. (11), R is as Eq. (18).

$$ R = \left[ {\begin{array}{*{20}c} 1 & 3 \\ {0.33} & 1 \\ \end{array} } \right] $$
(18)

Then, using (12), w1 = 1.73, and w2 = 0.58. So, according to (13), Yq is as Eq. (19):

$$ Y_{q} = \left( {y_{1}^{1.73} y_{2}^{0.58} } \right)^{(1/(1.73 + 0.58))} = y_{1}^{0.75} y_{2}^{0.25} . $$
(19)

Considering that the goal in the optimization process is to minimize the fitness function and on the other hand, higher values of MRR are more desirable, we define function y3 = (1/MRR). Thus, by minimizing y3, we will reach the maximum value of MRR. Knowing that YL = y3, the fitness function is as Eq. (20):

$$ F = f \left( {x_{i} } \right) = \left\{ {\begin{array}{*{20}c} {y_{1}^{0.75} y_{2}^{0.25} } \\ {y_{3} } \\ \end{array} } \right\}. $$
(20)

Then based on step 3, experiments were designed using Taguchi L27. 27 samples were manufactured using wire-cut EDM. Figure 4 shows a test specimen being machined. The top and bottom views of it are presented in Fig. 5.

Fig. 4
figure 4

A sample being manufactured by the wire-cut machine

Fig. 5
figure 5

a Top and b Bottom view of a test manufactured specimen

All of the input parameters were considered in three levels that are presented in Table 6. The used materials properties are listed in Table 7. The 27 designed experiments are as shown in Table 7, columns 1–7.

Table 6 Input parameters and their levels
Table 7 Selected properties of the materials were used in the case study

Then, using the mentioned wirecut machine and according to the settings of Table 8, the samples are manufactured. Test specimens were measured using the CMM to find the relative dimensional error with the CAD models. This can be seen in Figs. 6 and 7.

Table 8 Experiments using L27 orthogonal array, and summary of the results
Fig. 6
figure 6

Fabricated specimens by wire-cut EDM and ready for analyze

Fig. 7
figure 7

CMM results of a test specimen

The surface roughness of the samples was measured using a surface roughness tester and reported in μm. Higher Ra values are associated with rougher surfaces. Likewise, surfaces that are smoother, have a lower Ra value.

In order to accurate calculation of the MRR using Eq. (17), start and finish times of the cutting process were carefully recorded during the tests.

A summary of experiments and the results are presented in Table 8. It is necessary to explain that, the input parameter Bed Speed is proportional to the capacitor current and therefore is listed in terms of mA.

3.3 Analysis of variance for designed experiments

Based on step 3, Taguchi analysis was conducted using Minitab software for the results (Table 8). Considering the nature of the outputs ERR, Ra, and MRR, led us to use “smaller is better”, “smaller is better” and, “larger is better” strategies for them, respectively. Subsequently, analysis of variance (ANOVA) was performed to determine the signal to noise ratio of them in terms of input parameters.

Tables 9, 10 and 11 represent signal to noise ratios for ERR, MRR and, Ra, respectively. Same way, Tables 12, 13 and 14 show response table for means of them. Figures 8, 9 and 10 are main effects plot for S/N ratios of ERR, MRR and, Ra and Figs. 11, 12 and 13 are main effects plot for means of them.

Table 9 Response table for signal to noise ratios (ERR)
Table 10 Response table for signal to noise ratios (MRR)
Table 11 Response table for signal to noise ratios (Ra)
Table 12 Response table for means (ERR)
Table 13 Response table for means (MRR)
Table 14 Response table for means (Ra)
Fig. 8
figure 8

Main effects plot for S/N ratios of ERR

Fig. 9
figure 9

Main effects plot for S/N ratios of MRR

Fig. 10
figure 10

Main effects plot for S/N ratios of Ra

Fig. 11
figure 11

Main effects plot for means (ERR)

Fig. 12
figure 12

Main effects plot for means (MRR)

Fig. 13
figure 13

Main effects plot for means (Ra)

According to Table 9, Pulse-on time is the most effective parameter on ERR. Pulse-off Time, Taper Angle, No. of Cuts, and Bed Speed are the next effectives, respectively. Finally, workpiece material has the smallest effect among the studied parameters. Comparing Tables 9 and 10 shows that the order of inputs 1, 2, and 6 have not changed, but priority of 3, 4, and 5 have moved. This is not a problem because their values are very close to each other.

Table 11 illustrates the parameter influences and the levels of them on the MRR. Accordingly, the Pulse-on time is highly influential among the 6 operational parameters and has the chief role in determining MRR. Sequentially, Pulse-off time, Taper Angle, No. of Cuts, and Bed Speed are the following most influential parameters. Finally, workpiece material has the least significant effect. This arrangement is consistent with physical facts, because increasing Pulse-on time provides electric sparks for a more extended period, so more thermal energy is generated, leading to an increase in MMR.

Table 13 and Fig. 12, show that Pulse-on time has the largest effect on Ra. Pulse-off time, Taper angle, No. of Cuts, and Bed Speed are the next most influential parameters. Similar to other outputs, workpiece material has the least effect among the parameters. Increasing Pulse-on time can increase surface roughness as the more extensive pulse duration is commensurate to higher discharge energy. Therefore, has a great effect on the surface roughness and justifies the presented order. Besides, since the nature of Ra is compatible with “smaller is better”, it is expected that the graphs of the signal-to-noise ratio (Fig. 12) and the mean of means (Fig. 13) will have opposite growth. This issue can be clearly seen especially in the case of factors with a high impact, i.e. Pulse-on, Pulse-off, and Taper angle.

For both MRR and Ra, consistency of the rank of the parameters can be seen, between the signal-to-noise ratio and the mean of the means. Slight differences in their shape are negligible, and so, not decisive.

3.4 Regression models

The analysis of the results listed in Table 6 to obtain the full quadratic regression model using Minitab software has led to the following results.

For ERR, the model summary is presented in Table 15, Pareto chart of standardized effects of variables are shown in Fig. 14, and the regression equation is as Eq. (21). Figure 14 shows all effective terms with a threshold of 1.5.

$$ \begin{aligned} ERR & = 4.21 {-} 0.1360 X_{1} {-} 0.618 X_{2} + 0.0499 X_{5} + 0.001256 X_{1}^{2} + 0.0237 X_{2}^{2} \\ & \quad + \;0.00947 X_{1} \times X_{2} {-} 0.000768 X_{1} \times X_{5} {-} 0.00368 X_{2} \times X_{5} \\ \end{aligned} $$
(21)
Table 15 Model summary for ERR
Fig. 14
figure 14

Pareto chart of standardized effects of inputs on ERR

For MRR, the model summary is presented in Table 16, and the regression equation is as (22).

$$ MRR = - 0.07017 + 0.004835 X_{1} + 0.01623 X_{2} {-} 0.000893 X_{5} $$
(22)
Table 16 Model Summary for MRR

This equation says that, only X1, X2, and X5 are effective (above threshold) parameters on MRR and this effect is only in the linear form. So, the full quadratic and linear regression equations will be the same.

Similarly, for Ra, the model summary is shown in Table 17, and the regression equation is represented as (23).

$$ R_{a} = 2.299 + 0.05717 X_{1} + 0.1444 X_{2} {-} 0.01082 X_{5} $$
(23)
Table 17 Model summary for Ra

It shows that only X1, X2, and X5 are effective parameters on Ra and this effect is only in the direct form. Therefore, linear and full quadratic equations are the same.

3.5 Optimization

In our case study, the material was St 37, and the taper angle was 5 degrees based on geometry and application of the workpiece by survey of the customer. Therefore, according to Table 4, X5 = 5 (level 2), and X6 = 1 (level 1). Clearly, these values are constant during the optimization process. The fitness function is obtained by Eq. (20). y1, y2 and y3 are calculated based on the ERR, Ra, and MRR by applying Eq.’s (21), (22), and (23).

The optimization process is done on the fitness function F, with 4 inputs and 2 outputs, using multi-objective genetic algorithm. Since the variable X4 is discrete in nature, it should be replaced with round(X4), in the function written in the software. This way, we will encounter only positive integers in the reverse process. In order to get the best settings, Population size and Crossover Fraction is subjected to the DOE process (Taguchi method) and after normalizing the obtained responses, their best levels are selected from the signal-to-noise diagram. The other settings of GA are selected by analogy to similar problems [91]. This way, the settings of the used multi-objective genetic algorithm are as follows:

  • Population size: 100

  • Selection function: tournament

  • Crossover fraction: 0.8

  • Mutation function: constraint dependent

  • Max. iteration limit: 1000

  • Function tolerance: 0.0001

The output is a 2-dimensional optimal Pareto front as shown in Fig. 15.

Fig. 15
figure 15

Optimal Pareto front for the total fitness function of the case study

To provide better understanding and more accurate decision making, the Pareto-Front diagram can be presented to the customer in a normalized form. This is shown in Fig. 16.

Fig. 16
figure 16

Normalized optimal Pareto front of the case study

The customer is then asked to select a point on the Pareto-Front, regarding the relative importance of price and quality. For example, in our case study, the customer selected a point with coordinates (0.516, 0.240) from the normalized diagram. Now we should find the equivalent input coordinates for each point that is the necessary settings to achieve the desired result of the customer. Now, by use of reverse process, the input settings of the wirecut machine will be as follows:

  • Pulse-on time: 21.937 ms

  • Pulse-off time: 9.716 ms

  • Bed speed: 41.889 mA

  • No. of cuts: 2

It can now be said that these settings create the most favorable situation for the customer and his/her maximum satisfaction is achieved.

3.6 Measurement of the customer satisfaction

The main survey was conducted on two groups of customers as the target population. The first group included customers who received services without need assessment, and the second group included customers who were provided with services after need assessment by the proposed algorithm. The survey of both groups was conducted shortly after receiving the services and by completing the questionnaire of Fig. 2 in both face-to-face and online forms. There were 45 customers in each group, including 28 mold makers, 13 machine developers, and 4 design engineers. The results are shown in Tables 18 and 19, respectively.

Table 18 The customer satisfaction measurement for group 1 (without need assessment)
Table 19 The customer satisfaction measurement for group 2 (with need assessment)

The last two rows of each of the Tables 18 and 19 show the indices CSAT and CSS related to that table, separately for each question and then overall, based on formulas (2) and (3). For a better understanding of the comparison between these two groups, they are shown graphically in Fig. 17 for CSAT and 18 for CSS. As can be seen, the use of the proposed algorithm shows a significant growth in all items, as well as cumulatively. In other words, using the algorithm has clearly increased customer satisfaction.

Fig. 17
figure 17

CSAT indicator for Group 1 (without need assessment) and Group 2 (with need assessment)

Customer satisfaction turns ordinary customers into loyal ones, and one of the results is introducing the service company to their friends. As stated in Sect. 2.1.2, this issue is investigated in the calculation of the NPS index. 6th Question of the questionnaire has been designed for this purpose. The response results of the target population in both groups are included in Table 20. This table shows that the NPS index has reached 31.11 from 6.67 (24.44% growth), which means that the satisfaction of customers has led to the expansion of their network. This indicates the effectiveness of the proposed algorithm (Fig. 18).

Table 20 NPS indicator for Groups 1, 2
Fig. 18
figure 18

CSS indicator for Group 1 (without need assessment) and Group 2 (with need assessment)

In other words, the direct result of using this algorithm has been to retain current customers, convert them into loyal customers and attract new customers through existing loyal customers (even in the short term), which means the survival, profitability and expansion of the service organization.

4 Conclusion and future research

The ever-increasing expansion of wirecut in modern machining and its service-oriented nature has caused the vital importance of customer satisfaction in the survival, profitability, and expansion of a service organization. Many valuable studies have been done in the field of optimizing the outputs of the wirecut process based on the input settings, but the main distinction of this research is to obtain the best arrangement of the input settings for the maximum alignment between the different outputs of the process with the customer's expectations and to achieve the highest level of his/her satisfaction.

In the present study, first, the input parameters were determined. Then, a simplified form of the AHP pairwise comparison matrix was completed to assessment of the customer demands and the outputs were prioritized and weighted. A two components vector desirability function generated from QFD and the optimal state of it was presented as a two-dimensional Pareto front using multi-objective genetic algorithm. Here, the customer has the option of choosing any point on the Pareto-front which makes a suitable visual concept to better decisions. A real case study was conducted for a mold manufacturer customer and the proposed algorithm was checked and validated in terms of simplicity, feasibility, measurability, flexibility, and updatability.

The monitoring of this customer satisfaction has been done through the development of a documented and standardized questionnaire whose validity and reliability have been proved. Significant growth in various items and overall satisfaction of the customer, based on indicators CSAT (from 57.6% to 70.3%) and CSS (from 30.2% to 54.2%), show the effectiveness of this algorithm in increasing Customer satisfaction. Also, this achievement has led the customers to introduce the service organization to their friends and so, the customer network will be expanded. This is clearly seen in the growth of the NPS index from 6.67 to 31.11. This effectiveness ultimately causes the survival, profitability, and expansion of the organization.

The risk of fitting the regression model with a high approximation, the effect of the initial settings of the genetic algorithm on the quality of the obtained optimum, and the presence of outlier data in the survey can be considered as "vulnerable points" of this algorithm. In contrast, the use of artificial neural networks in mathematical modeling, the application of multi-criteria decision-making techniques as well as fuzzy logic in customer surveys, and the presentation of Pareto-Front as a continuous equation can be the focus of more work on the subject.