optimization using Particle swarm optimization
2 views (last 30 days)
Show older comments
kaustov chakraborty
on 29 Mar 2013
Answered: Neeraj Bhanot
on 15 Dec 2013
Variables Levels
-1 0 1
Feed(mm/rev) 0.1 0.2 0.3
DOC(mm) 0.2 0.3 0.4
RPM 500 1250 2000
Tool wear= 0.0076390+ 0.000024*FEED+ 0.001581*RPM+ 0.000422*DEPTH OF CUT+ 0.000389* FEED*FEED + 0.000663*RPM*RPM - 0.000849*FEED*RPM - 0.000749*FEED*DEPTH OF CUT + 0.000704*RPM*DEPTH OF CUT
how can i optimize the above equation using Particle swarm optimization in matlab
[Merged from duplicate]
i want the full matlab program regarding this problem using pso im matlab..how can i install pso toolbox in matlab?? it does nt work..
2 Comments
Walter Roberson
on 30 Mar 2013
Please be more specific about "it doesn't work" for your difficulties in installing the PSO toolbox.
Accepted Answer
Walter Roberson
on 29 Mar 2013
Why bother?
feeds = [0.1 0.2 0.3];
docs = [0.2 0.3 0.4];
rpms = [500 1250 2000];
[FEED, DEPTH_OF_CUT, RPM] = ndgrid(feeds, docs, rpms);
Tool_wear = 0.0076390 + 0.000024 * FEED + 0.001581 * RPM + 0.000422 * DEPTH_OF_CUT + 0.000389 * FEED .* FEED + 0.000663 * RPM .* RPM - 0.000849 * FEED .* RPM - 0.000749 * FEED .* DEPTH_OF_CUT + 0.000704 * RPM .* DEPTH_OF_CUT;
[minwear, idx] = min(Tool_wear(:));
fprintf('Minimum wear %g at Feed %g DOC %g RPM %g\n', minwear, FEED(idx), DEPTH_OF_CUT(idx), RPM(idx));
0 Comments
More Answers (1)
Neeraj Bhanot
on 15 Dec 2013
I have also got somewhat similar type of prob in which i have to minimise surface roughness on the basis of certain parameters. If anyone has pso program for it plz mail me at neerajbhanot.iitd@gmail.com
Thanks
0 Comments
See Also
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!