Solving fractional programming problems based on swarm intelligence
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Raouf, Osama Abdel; Hezam, Ibrahim M. Article Solving fractional programming problems based on swarm intelligence Journal of Industrial Engineering International Provided in Cooperation with: Islamic Azad University (IAU), Tehran Suggested Citation: Raouf, Osama Abdel; Hezam, Ibrahim M. (2014) : Solving fractional programming problems based on swarm intelligence, Journal of Industrial Engineering International, ISSN 2251-712X, Springer, Heidelberg, Vol. 10, pp. 1-10, https://doi.org/10.1007/s40092-014-0056-8 This Version is available at: https://hdl.handle.net/10419/157397 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. http://creativecommons.org/licenses/by/2.0/
ORIGINAL RESEARCH Solving Fractional Programming Problems based on Swarm Intelligence Osama Abdel Raouf •Ibrahim M. Hezam Received: 7 July 2013 / Accepted: 18 March 2014 / Published online: 11 April 2014 The Author(s) 2014. This article is published with open access at Springerlink.com Abstract This paper presents a new approach to solve Fractional Programming Problems (FPPs) based on two different Swarm Intelligence (SI) algorithms. The two algorithms are: Particle Swarm Optimization, and Firefly Algorithm. The two algorithms are tested using several FPP benchmark examples and two selected industrial applications. The test aims to prove the capability of the SI algorithms to solve any type of FPPs. The solution results employing the SI algorithms are compared with a number of exact and metaheuristic solution methods used for handling FPPs. Swarm Intelligence can be denoted as an effective technique for solving linear or nonlinear, nondifferentiable fractional objective functions. Problems with an optimal solution at a finite point and an unbounded constraint set, can be solved using the proposed approach. Numerical examples are given to show the feasibility, effectiveness, and robustness of the proposed algorithm. The results obtained using the two SI algorithms revealed the superiority of the proposed technique among others in computational time. A better accuracy was remarkably observed in the solution results of the industrial application problems. Keywords Swarm intelligence Particle swarm optimization Firefly algorithm Fractional programming Introduction This paper, considers the following general Fractional Programming Problem (FPP) mathematical model (Jaberipour and Khorram 2010): min =max zðx1;x2; :::; xnÞ¼X p i¼1 fiðxÞ giðxÞð1Þ hkðxÞ0;k¼1; :::; K; mjðxÞ¼0;j¼1; :::; J; xl ixixu i;i¼1; :::; n; giðxÞ 6¼ 0;i¼1;2; :::; p: ð2Þ where f,g,hand mare linear, quadratic, or more general functions. Fractional programming of the form Eq. (1) arises reality whenever rates such as the ratios (profit/revenue), (profit/time), (-waste of raw material/quantity of used raw material), are to be maximized often these problems are linear or at least concave–convex fractional programming. Fractional programming is a nonlinear programming method that has known increasing exposure recently and its importance, in solving concrete problems, is steadily increasing. Furthermore, nonlinear optimization models describe practical problems much better than the linear optimization, with many assumptions, does. The FPPs are particularly useful in the solution of economic problems in which different activities use certain resources in different proportions. While the objective is to optimize a certain indicator, usually the most favorable return on allocation ratio subject to the constraint imposed on the availability of resources; it also has a number of important practical applications in manufacturing, administration, transportation, data mining, etc. O. A. Raouf I. M. Hezam Operations Research and DSS Department, Menofia University, Shebien El-koum, Menofia 32511, Egypt e-mail: [email protected] I. M. Hezam (&) Department of Mathematics and computer, Faculty of Education, Ibb University, Ibb city, Yemen e-mail: [email protected] 123 J Ind Eng Int (2014) 10:56 DOI 10.1007/s40092-014-0056-8
The methods to solve FFPs can be broadly classified into exact (traditional) and metaheuristics approaches. The traditional method as: Wolf (1985) who introduced the parametric approach, Charnes and Cooper (1973) solved the linear FFPs by converting FPP into an equivalent linear programming problem and solved it using already existing standard algorithms for LPP, Farag (2012); Hasan and Acharjee (2011); Hosseinalifam (2009); Stancu- Minasian (1997), reviewed some of the methods that treated solving the FPP as the primal and dual simplex algorithm. The crisscross, which is based on pivoting, within an infinite number of iterations, either solves the problem or indicates that the problem is infeasible or unbounded. The interior point method, as well as Dinkelbach algorithms both reduces the solution of the LFP problem to the solution of a sequence of LP problems. Isbell Marlow method, Martos Algorithm, CambiniMarteins Algorithm, Bitran and Novaes Method, Swarups Method, Harvey M. Wagner and John S. C. Yuan, Hasan, B.M., and Acharjee, S., developed a new method for solving FLPP based on the idea of solving a sequence of auxiliary problems so that the solutions of the auxiliary problems converge to the solution of the FPP. Moreover, there are many recent approaches employing traditional mathematical methods for solving the ratio optimization FPP as: Du ¨r et al. (2007) who introduced an algorithm called dynamic multistart improving Hit-and- Run (DMIHR) and applied it to the class of fractional optimization problems. DMIHR combines IHR, a wellestablished stochastic search algorithm, with restarts. The development of this algorithm is based on a theoretical analysis of Multistart Pure Adaptive Search, which relies on the Lipschitz constant of the optimization problem. Shen et al. (2009) proposed algorithm for solving sum of quadratic ratios fractional programs via monotonic function. The proposed algorithm is based on reformulating the problem as a monotonic optimization problem. It turns out that the optimal solution, which is provided by the algorithm, is adequately guaranteed to be feasible and to be close to the actual optimal solution. Jiao et al. (2013) presented global optimization algorithm for sum of generalized polynomial ratios problem which arises in various practical problems. The global optimization algorithm was proposed for solving sum of generalized polynomial ratios problem, which arise in various engineering design problems. By utilizing exponential transformation and new three-level linear relaxation method, a sequence of linear relaxation programming of the initial nonconvex programming problems are derived, which are embedded in a branch and bound algorithm. The algorithm was shown to attain finite convergence to the global minimum through successive refinement of a linear relaxation of the feasible region and/or of the objective function and the subsequent solutions of a series of linear programming sub-problems. A few studies in recent years used metaheuristics approaches to solve FFPs. Sameeullah et al. (2008) presented a genetic algorithm-basedmethodtosolvethe linear FFPs. A set of solution point is generated using random numbers, feasibility of each solution point is verified, and the fitness value for all the feasible solution points are obtained. Among the feasible solution points, the best solution point is found out which then replaces the worst solution point. A pair-wise solution points is used for crossover and a new set of solution points is obtained. These steps are repeated for a certain number of generations and the best solution for the given problem is obtained. Calvete et al. (2009)developed a genetic algorithm for the class of bi-level problems in which both level objective functions are linear fractional and the common constraint region is a bounded polyhedron. Jaberipour and Khorram (2010) proposed algorithm for the sum-of-ratios problem-based harmony search algorithm. Bisoi et al. (2011) developed neural networks for nonlinear FPP. The research proposed a new projection neural network model. It is theoretically guaranteed to solve variational inequality problems. The multi-objective mini–max nonlinear fractional programming was defined and its optimality is derived by using its Lagrangian duality. The equilibrium points of the proposed neural network model are found to correspond to the Karush Kuhn Trcker point associated with the nonlinear FPP. Xiao (2010)presenteda neural network method for solving a class of linear fractional optimization problems with linear equality constraints. The proposed neural network model have the following two properties. First, it is demonstrated that the set of optima to the problems coincides with the set of equilibria of the neural network models which means the proposed model is complete. Second, it is also shown that the model globally converges to an exact optimal solution for any starting point from the feasible region. Pal et al. (2013) used Particle Swarm Optimization algorithm for solving FFPs. Hezam and Raouf (2013a b,c), introduced solution for integer FPP and complex variable FPP-based Swarm Intelligence under uncertainty. The purpose of this paper is to investigate the solution for the FPP using Swarm Intelligence. The remainder of this paper is organized as follows. ‘‘Methodology’’ will introduce Swarm Intelligence methodology. Illustrative examples and discussion on the results are presented in ‘‘Illustrative examples with discussion and results’’. ‘‘Industry applications’’ introduces industry applications. Finally, conclusions are presented ‘in ‘‘Conclusions’’. 56 Page 2 of 10 J Ind Eng Int (2014) 10:56 123
Methodology Swarm Intelligence (SI) is research inspired by observing the naturally intelligent behavior of biological agent swarms within their environments. SI algorithms have provided effective solutions to many real-world type optimization problems, that are NP-Hard in nature. This study investigates the effectiveness of employing two relatively new SI metaheuristic algorithms in providing solutions to the FPPs. The algorithms investigated are Particle Swarm Optimization (PSO), and Firefly Algorithm (FA). Brief descriptions of these algorithms are given in the subsections below. 1. Particle Swarm Optimization (PSO) PSO (Yang 2011) is a population-based stochastic optimization technique developed by Eberhart and Kennedy in 1995, inspired by social behavior of bird flocking or fish schooling. The characteristics of PSO can be represented as follows: •xk iThe current position of the particle iat iteration k; •vk iThe current velocity of the particle iat iteration k; •yk iThe personal best position of the particle iat iteration k; •byk iThe neighborhood best position of the particle. The velocity update step is specified for each dimension j21;;Nd fg hence, vi;jrepresents the jth element of the velocity vector of the ith particle. Thus the velocity of particle iis updated using the following equation vk iðtþ1Þ¼wvk iðtÞþc1r1ðtÞðyiðtÞxiðtÞÞ þc2r2ðtÞðbyiðtÞxiðtÞÞ:ð3Þ where wis weighting function, c1;2are weighting coefficients, r1;2ðtÞare random numbers between 0 and 1. The current position (searching point in the solution space) can be modified by the following equation: xk iðtþ1Þ¼xk iþvkþ1 ið4Þ Penalty functions In the penalty functions method, the constrained optimization problem is solved using unconstrained optimization method by incorporating the constraints into the objective function thus transforming it into an unconstrained problem. Fitness ¼fðxÞþPenalty functions Error: The detailed steps of the PSO algorithm is given as below: Step 1 Initialize parameters and population. Step 2:Initialization Randomly set the position and velocity of all particles, within pre-defined ranges and on D dimensions in the feasible space (i.e., it satisfies all the constraints). Step 3:Velocity updating At each iteration, velocities of all particles are updated according to Eq. (3). After updating, vk ishould be checked and maintained within a pre-specified range to avoid aggressive random walking. Step 4:Position updating Assuming a unit time interval between successive iterations, the positions of all particles are updated according to Eq. (4). After updating, xk ishould be checked and limited within the allowed range. Step 5:Memory updating Update yk iand byk iwhen the following condition is met. yk iðtþ1Þ¼ yk iðtÞif fðxk iðtþ1ÞÞ fðyk iðtÞÞ: xk iðtþ1Þif fðxk iðtþ1ÞÞ\fðyk iðtÞÞ: ( where fðxÞis the objective function subject to maximization. Step 6:Termination checking Repeat Steps 2–4 until definite termination conditions are met, such as a predefined number of iterations or a failure to make progress for a fixed number of iterations. 2. Firefly algorithm (FA) FA Yang (2011), is based on the following idealized behavior of the flashing characteristics of fireflies. All fireflies are unisex so that one firefly is attracted to other fireflies regardless of their sex. Attractiveness is proportional to their brightness, thus for any two flashing fireflies, the less bright one will move towards the brighter one. The attractiveness is proportional to the brightness and they both decrease as their distance increases. If no one is brighter than a particular firefly, it moves randomly. The brightness or the light intensity of a firefly is affected or determined by the landscape of the objective function to be optimized. The detailed steps of the PSO algorithm is given as below: Step 1 Define objective function fðxÞ;x¼ðx1;x2; :::; xdÞ, and generate initial population of fireflies placed at random positions within the n-dimensional search space, xi. Define the light absorption coefficient c. Step 2 Define the light intensity of each firefly, Li, as the value of the cost function for xi. Step 3 For each firefly, xi, the light Intensity, Li,is compared for every firefly xj;j21;2; :::d. Step 4 If , Li, is less than Lj, then move firefly xitowards xjin n-dimensions. J Ind Eng Int (2014) 10:56 Page 3 of 10 56 123
The value of attractiveness between flies varies relatively the distance rbetween them: xt iþ1¼xt iþbexp cr2 tðxt jxt iÞþat ið5Þ where bis the attractiveness at r¼0 the second term is due to the attraction, while the third term is randomization with the vector of random variables ibeing drawn from a Gaussian distribution a2½0;1. The distance between any two fireflies iand jat xiand xjcan be regarded as the Cartesian distance or the l2norm. Step 5 Calculate the new values of the cost function for each fly, xi, and update the light intensity, Li. Step 6 Rank the fireflies and determine the current best. Step 7 Repeat Steps 2–6 until definite termination conditions are met, such as a pre-defined number of iterations or a failure to make progress for a fixed number of iterations. Illustrative examples with discussion and results Ten diverse examples were collected from literature to demonstrate the efficiency and robustness of solving FFPs. The obtained numerical results are compared to their relevance found in references; some examples were also solved using exact method f1and f3. Table 1shows they attained the comparison result. The algorithms have been implemented by MATLAB R2011. The simulation parameter settings results of FA are: population size, 50; a (randomness), 0.25; minimum value of b, 0.20; c (absorption), 1.0; iterations, 500; and PSO are population size of 50, the inertia weight was set to change from 0.9 (wmax) to 0.4 (warming) over the iterations. Set c1:0.12 and c2:1.2, , iterations:500. The functions related to the difference examples list in the previous table are followers: f1: max z¼4xþ2yþ10 xþ2yþ5 subject to xþ3y30; xþ2y5; x;y0. f2:min z¼xþyþ1 xþyþ2 1:5xþyþ3 xþyþ4 2:1xþyþ5 xþyþ6 1:2 xþyþ7 xþyþ8 1:1 . subject to xy¼0; 1 x2; x;y0. f3: min z¼xþyþ1 2xyþ3 subject to 0 x1; 0 x1. f4: max z¼8xþ7y2:33ð9x2þ4y2Þ0:5 20xþ12y2:33ð3x2þ2xyþ4y2Þ0:5 subject to 2xþy18; xþ2y16; x;y0. f5: max z¼2xþy xþ2 y subject to 2xþy6; 3xþy8; xþy1x;y1. f6: max z¼x2þ3xy2þ3yþ3:5 xþ1þy x22xþy28yþ20 subject to 2xþy6; 3xþy8; xþy1; 1 x2:25; 1y4. f7:max z¼x2y0:5þ2xy1y2þ2:8x1yþ7:5 xy1:5þ1 þyþ0:1 x2y13x1þ2xy2þ9y1þ12 subject to 2x1þxy 4; xþ3x1y5; x23y32; 1 x3; 1 y3. f8: max z¼37xþ73yþ13 13xþ13yþ13 þ63x18yþ39 13xþ26yþ13 subject to 5xþ3y¼3; 1:5x3; x;y0. f9: min z¼2xþy xþ10 þ2 yþ10 subject to x2y2þ30; x2y2þ8y30; 2xþy6; 3xþy8; xy1;1x3; 1 y4. f10: max z¼13xþ13yþ13 37xþ73yþ13 1:464x18yþ39 13xþ26yþ13 1:2 xþ2yþ5vþ50 xþ5yþ5vþ50 0:5xþ2yþ4vþ50 5yþ4vþ50 1:1 subject to 2xþyþ5v10; 5x3y¼0; 1:5x3; x;y;v0. The numerical results obtained using PSO and FA techniques are compared to assorted exact methods and metaheuristic techniques as shown in Table 1. Four exact methods were selected for solving the 10 benchmark functions and carrying out the comparison. The four methods are C.C. Transformation, Dinkelbach algorithm, Goal Setting and Approximation and global optimization. Neural network and harmony search are the other two metaheuristic intelligent techniques incorporated in the compare test. The some calculations are obtained out of the numerical solutions of all the ten functions. PSO and FA proved their capability in obtaining the optimal solution for all the test functions. The results were obtained from the PSO, FA almost identical to the obtained using exact methods. PSO and FA proved also to give better results compared to other intelligent techniques, such as neural network and harmony search f3;f10. Finally, PSO and FA managed to give solutions to problems that could not be solved with exact method due to difficult mathematical calculation for complex nonlinear. Figures 1and 2 are sample plots of two maximum and minimum function optimization results. Figure 1a shows the objective function optimized value of (0.333) for function f3where the blue colored dots on the objective space represent the swarm particle searching for the optimized minimum value. The same particles swarm with the same color could be observed in the decision variable space of Fig. 1b, c at values of (0,0), (0,0) trying to reach the optimized decision variables values using FA, PSO algorithms, respectively. Figure 2a shows the objective function optimized value of (4.0608) for function f6where the red colored dots on the objective space represent the swarm 56 Page 4 of 10 J Ind Eng Int (2014) 10:56 123
Table 1 Comparison results of the SI with other methods Fun. Technique/reference Decision variable optimal value Objective function optimize value f1(max) C.C. transformation exact method ðx;yÞ¼ð30;0Þz¼3:714286 Dinkelbach algorithm exact method ðx;yÞ¼ð30;0Þz¼3:714286 PSO ðx;yÞ¼ð30;0Þz¼3:7142857 FA ðx;yÞ¼ð29:949;0Þz¼3:7138877 f2(min) C.C. Transformation exact method Dinkelbach algorithm exact method Jiao et al. (2006) Global optimization ðx;yÞ¼ð1:00000068;1:0000000458Þz¼0:3360 PSO ðx;yÞ¼ð1;1Þz¼0:3360 FA ðx;yÞ¼ð1;1Þz¼0:33603 f3(min) C.C. Transformation exact method ðx;yÞ¼ð0;0Þz¼0:333 Dinkelbach algorithm exact method ðx;yÞ¼ð0;0Þz¼0:333 Zhang and Lu (2012) Neural network ðx;yÞ¼ð0:5;3Þz¼4:5 PSO ðx;yÞ¼ð0;0Þz¼0:333 FA ðx;yÞ¼ð0;0Þz¼0:333 f4(max) C.C. transformation exact method Dinkelbach algorithm exact method Mehrjerdi (2011) Goal setting and approximation ðx;yÞ¼ð7:229;0Þz¼0:084 PSO ðx;yÞ¼ð1:0264;5:7391Þz¼0:3383 FA ðx;yÞ¼ð1:175;6:59Þz¼0:3382 f5(max) C.C. transformation exact method Dinkelbach algorithm exact method Shen et al. (2011) Global optimization ðx;yÞ¼ð1;4Þz¼6:5 PSO ðx;yÞ¼ð1;4Þz¼6:5 FA ðx;yÞ¼ð1;4Þz¼6:5 f6(max) C.C. transformation exact method Dinkelbach algorithm exact method Shen et al. (2011) Global optimization ðx;yÞ¼ð1;1:75Þz¼4:0608 PSO ðx;yÞ¼ð1;1:7377Þz¼4:0608 FA ðx;yÞ¼ð1;1:7438Þz¼4:06082 f7(max) C.C. transformation exact method Dinkelbach algorithm exact method Shen et al. (2011) Global optimization ðx;yÞ¼ð1;1Þz¼5:5167 PSO ðx;yÞ¼ð1;1Þz¼5:5167 FA ðx;yÞ¼ð1;1Þz¼5:5167 f8(max) C.C. transformation exact method Dinkelbach algorithm exact method Wang and Shen (2008) Global optimization ðx;yÞ¼ð3;4Þz¼5 PSO ðx;yÞ¼ð3;4Þz¼5 FA ðx;yÞ¼ð3;4Þz¼5 f9(min) C.C. transformation exact method Dinkelbach algorithm exact method Jiao et al. (2013) Global optimization ðx;yÞ¼ð1;1:4142Þz¼0:48558 PSO ðx;yÞ¼ð1;1:4Þz¼0:48 FA ðx;yÞ¼ð1;1:41423Þz¼0:485604 f10 (max) C.C. transformation exact method Dinkelbach algorithm exact method Jaberipour and Khorram (2010) Harmony search ðx;y;vÞ¼ð1:5;1:5;1:1Þz¼8:1207 PSO ðx;y;vÞ¼ð1:5;1:5;0Þz¼8:279866 FA ðx;y;vÞ¼ð1:5;1:49;0Þz¼8:251791 J Ind Eng Int (2014) 10:56 Page 5 of 10 56 123
particle searching for the optimized maximum value. The same particles swarm with the same color could be observed in the decision variable space of Fig. 2b, c at values of (1,1.7438), (1,1.7377) trying to reach the optimized decision variables values using FA, PSO algorithms, respectively. Industry applications A. Design of a gear train A gear train problem is selected from Deb and Srinivasan (2006), and Shen et al. (2011); shown in Fig. 3below. A compound gear train is to be designed to achieve a specific gear ratio between the driver and driven shafts. It is a pure integer fractional optimization problem used to validate the integer handling mechanism. The gear ratio for gear train is defined as the ratio of the angular velocity of the output shaft to that of the input shaft. It is desirable to produce a gear ratio as close as possible to 1=6:931. For each gear, the number of teeth must be between 12 and 60. The design variables Ta;Tb;Td, and Tfare the numbers of teeth of the gears a;b;d, and f, respectively, which must be integers. x¼ðTd;Tb;Ta;TfÞT. The optimization problem is expressed as: min z¼1 6:931 bTdcbTbc bTacbTfc 2 ¼1 6:931 bx1cbx2c bx3cbx4c 2 : subject to 12 xi60;i¼1;2;3;4: The constraint ensures that the error between obtained gear ratio and the desired gear ratio is not more than the 50 % of the desired gear ratio. 00.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 X ((x+y+1)/(2*x−y+3)) Y Z 0.5 1 Min Max X Y Firefly distribution 00.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.4 0.6 0.8 Min Max X Y Swarm distribution 00.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.4 0.6 0.8 Min Max Fig. 1 Swarm distributions searching for optimization value of f3 56 Page 6 of 10 J Ind Eng Int (2014) 10:56 123
The detailed accuracy performance concerning the solution of FA and PSO is listed in Table 2. The comparison is held in terms of the best, error, mean, and standard deviation values. These values were obtained out of 20 independent runs. The table also shows the best optimization value, the convergence time and the amount addressed memory resources. First refereeing to the obtained optimization value indicates a better achievement for FA. On the other hand, the convergence time and the Table 2 Result comparisons between FA and PSO on gear train problem FA PSO Best 2.7E012 2.700857E012 Error (%) 0 % 0.0003174 % Mean 5.1314E012 1.1371E011 SD 7.6868E012 1.01307E011 Time (s) 65 45 Memory utilization 483–484 492–494 1 1.5 2 2.5 1 1.5 2 2.5 3 3.5 4 1 1.5 2 2.5 3 3.5 4 4.5 X ((−x2+3*x−y2+3*y+3.5)/(x+1))+(y/(x2−2*x+y2−8*y+20)) Y Z 2 3 Max Min X Y Firefly distribution 11.2 1.4 1.6 1.8 22.2 1 1.5 2 2.5 3 3.5 4 Min Max X Y Swarm distribution 11.2 1.4 1.6 1.8 22.2 1 1.5 2 2.5 3 3.5 4 1.5 2 2.5 3 3.5 Max Min Fig. 2 Swarm distributions searching for optimization value of f6 Fig. 3 A gear train J Ind Eng Int (2014) 10:56 Page 7 of 10 56 123
amount of addressed memory resources indicate a better achievement for PSO. The PSO algorithm utilizes memory amount of 483–484 as shown in Fig. 4, while FA algorithm utilizes memory amount of 492–494 as shown in the same figure. B. Proportional integral derivative (PID) controller Proportional integral derivative (PID) controllers are widely used to build automation equipment in industries; shown in Fig. 5below. They are easy to design, implement, and are applied well in most industrial control systems process control, motor drives, magnetic, etc. Correct implementation of the PID depends on the specification of three parameters: proportional gain ðKpÞ, integral time ðTiÞand derivative time ðTdÞ. These three parameters are often tuned manually by trial and error, which has a major problem in the time needed to accomplish the task. and the fractional-order PID controller parameters vector is (Kp,Ti,Td,k,d). The PID controller is a special case of the fractional-order PID controller, we simply set k¼d¼1: Assume that the system is modeled by an nth-order process with time delay L: GpðsÞ¼bmsmþbm1sm1þ::: þb1sþb0 snþan1sn1þ::: þa1sþa0 eLs ð6Þ Here, we assume n[mand the system (6) is stable. The fractional-order PID controller has the following transfer function: GCðsÞ¼KpþTiskþTdsd The optimization problem is summarized as follows: min z¼zðKp;Ti;Td;k;dÞ. subject to LKp;Ti;Td;k;dU. where the z;L;Uis given by the designer. Note that the constraint is introduced to guarantee the stability of the closed-loop system. Also, the values of five design parameters (Kp,Ti,Td,k,d) are directly determined by solving the above optimization problem. Simulation example Consider the following the transfer function presented in Maiti et al. (2008): GpðsÞ¼ 1 0:8s2:2þ0:5s0:9þ1: The initial parameters are chosen randomly in the following range: Kp;½1;1;000;Ti;½1;500;Td;½1;500;k; ½0;2;d;½0;2. We want to design a controller such that the closed loop system has a maximum peak overshoot Mp¼ 10 %and trise = 0.3 s. This translates to n¼0:65 (damping ratio), x0¼2:2s1(undamped natural frequency). We then find out the positions of the dominant poles of the closed loop system, P1;2¼nx0jx0ffiffiffiffiffiffiffiffiffiffiffiffiffi 1n2 p: The dominant poles for the closed loop controlled system should lie at ð1:43 þj1:67Þand ð1:43 j1:67Þ:For p1¼ð1:43 þj1:67Þ, the characteristic equation is: 1þKpþTið1:43þj1:67ÞkþTdð1:43þj1:67Þd 0:8ð1:43þj1:67Þ2:2þ0:5ð1:43þj1:67Þ0:9þ1¼0: Tables 3and 4illustrate the calculated optimized parameters of PID controller using PSO, FA and using the Table 3 Results for the integer order PID Technique KpTiTdStep response FA 500 249.68 500 1.0020 PSO 200 491.68 100 1.0208 Maiti et al. (2008) 214.84 361.57 76.76 1.0339 Table 4 Results for the fractional order PID Tec. KpTiTdkdStep res. FA 786.99 484.8 308 2 1 1.0079 PSO 857.54 292.98 206.9 1.62 1.75 1.0179 Maiti et al. (2008) 442.68 324.03 115.27 1.5 1.41 1.0288 Fig. 4 Memory usage indicator Fig. 5 Generic closed loop system 56 Page 8 of 10 J Ind Eng Int (2014) 10:56 123