I need the coding for combined method of Particle Swarm Optimization and Swallow Swarm optimization. Do help me for identifying crack in cantilever beam.
For example, the first line (Initialize population) is not a single instruction. It's a function which will initialize your population according to the problem you are solving. I also have to say this is not the best pseudo code I've seen in my life. It's hard to see where each "while" ends. I would suggest you a search for a better pseudo code.
Well, if you have knowledge on algorithms and data structure the language is a matter of practicing a little bit. The good news is that Matlab has a very high level programming language where you can deal with vectors and matrices in a very easy and straightful way, therefore, you can learn and implement meta-heuristics in a relatively short period of time.
Yes Sir. I have generated the coding by myself now. But can anyone assist me in formulating a crack in cantilever beam into an objective function for an optimization problem. I have planned to use mean square error method so as to identify crack in cantilever beam.
Its based on identification of crack in cantilever beam using hybrid (PSO and Swallow Swarm) optimization method using matlab. I am done with the codings for optimization. Now, I have to formulate the codings for crack identification.
See my latest publication which describe how to code PSO ealisy;
M. N. Alam, B. Das, V. Pant, A comparative study of metaheuristic optimization approaches for direc-tional overcurrent relays coordination, Electric Power Systems Research 128 (2015) 39{52.
If you can describe your problem I can write matlab codes for that;
Cite
2 Recommendations
Mohammadhossein Homaei
University of Extremadura
Hello there,
You can use of this source code in Matlab for Accelerated Particle Swarm Optimization. I think is useful for you.
Description
This is an accelerated PSO (APSO). APSO does not use velocities or any inertia parameter.
A full program for solving nonlinear constrained optimization problem (welded beam design as an example) is provided, which can be extended to solve other continuous optimization problems.
Research Particle Swarm Optimization: Algorithm and its Codes in MATLAB
Cite
Similar questions and discussions
How should I optimize the value of an array using particle swarm? can anyone help me how to write code in python for this?
Question
2 answers
Asked 1 July 2019
Saurabh Kumar
I am working to minimize the error of the autoencoder predicted value and actual value error. How to use fitness function mse in PSO using python.
View
How to use PSO-BP NN solve two-spiral classification ?
Question
3 answers
Asked 10 January 2019
Deleted profile
I want to use PSO algorithm to replace the GD algorithm to update the weight of 2-layer NN, solve the problem of two-spiral classification, there are two inputs and one output, the right result is 0.1 or 0.9 ,but the result I got is about 0.4-0.6. It means my method is useless.
I have tried different parameters value of PSO ,and the hidden nodes number but the best result is same and the calculation speed is too slow compare with NN or PSO only.
I have read some papers which they get good result in accuracy and speed and my method is same as their method in logically.
in the end I attach my coding(by matlab).the result of accuracy is about (152-60)/152 = 60%
I hope I can get some hints from you. thank you.
net = newff([-0.5 0.5;0 1],[20,1],{'tansig','tansig'},'trainlm');