optimization using Particle swarm optimization

2 visualizzazioni (ultimi 30 giorni)
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..

Risposta accettata

Walter Roberson
Walter Roberson il 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));

Più risposte (1)

Neeraj Bhanot
Neeraj Bhanot il 15 Dic 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

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by