optimization using Particle swarm optimization

2 次查看(过去 30 天)
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..

采纳的回答

Walter Roberson
Walter Roberson 2013-3-29
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));

更多回答(1 个)

Neeraj Bhanot
Neeraj Bhanot 2013-12-15
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

类别

Help CenterFile Exchange 中查找有关 Particle Swarm 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by