optimization using Particle swarm optimization

조회 수: 7 (최근 30일)
kaustov chakraborty
kaustov chakraborty 2013년 3월 29일
답변: Neeraj Bhanot 2013년 12월 15일
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
Walter Roberson
Walter Roberson 2013년 3월 30일
Please be more specific about "it doesn't work" for your difficulties in installing the PSO toolbox.

댓글을 달려면 로그인하십시오.

채택된 답변

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