File Exchange

## Firefly Algorithm

version 1.2.0.0 (8.26 KB) by Xin-She Yang

### Xin-She Yang (view profile)

Firefly Algorithm for Constrained Optimization

Updated 16 Aug 2011

Firefly algorithm for nonlinear constrained optimization.

For simple demo in 2D, please use firefly_simple.m

For unconstrained functions in higher dimenisions, please use fa_ndim.m

For nonlinear constrained optimization,

Pham Minh Cong

KARTHIKA C K

### KARTHIKA C K (view profile)

I am using this firefly algorithm for tuning PID controller as a part of speed control of BLDC motor. I need to know how I can write the matlab code for tuning the PID controller using firefly algorithm please help me

Ted

### Ted (view profile)

thank you so much !

AMIT TRIPATHI

### AMIT TRIPATHI (view profile)

I am using this firefly algorithm for the optimization of process parameters of drilling by minimising the response using fa_mincon.m file.

i need to know how to plot the graph between the iteration and the best solution.

Jiaxun Li

### Jiaxun Li (view profile)

Thank you so much, they are very useful!

Khampaserth xaphakdy

### Khampaserth xaphakdy (view profile)

Thank you very much, Sir

sagar mali

Ali sameer

### Ali sameer (view profile)

Hello
Thanks for shearing this important code
Can you please help me how can I train Artificial Neural network and ANFIS by using firefly algorithim

Saliha C A

### Saliha C A (view profile)

how relay coordination is related to firefly algorithm in coding

Tricker Maelstrom

### Tricker Maelstrom (view profile)

what different between " beta=(beta0-betamin)*exp(-gamma*r.^2)+betamin " and
" beta=beta0*exp(-gamma*r.^2) " and why you include betamin in to the equation?

Jinhua Zhou

### Jinhua Zhou (view profile)

Hello , how can use firefly algorithm for tuning parameters of PSS and POD

Dear Sir

Could you please tell me how can I use Firefly algorithm to select the parameters of the SVR model?.

Thanks

Marcelo Fernandes

### Marcelo Fernandes (view profile)

Can any body tell me how fire fly can use for Classification to an Image.Please help me in code.

Thanks

omar serrano

### omar serrano (view profile)

porque en fa_mincon.m nunca evalúa la función dentro del doble for como lo marca en el articulo del 2010?

Yahya Zakaria mohamed

C zin ping

### C zin ping (view profile)

Dear sir
I have second order mathematical equation for surface roughness as output responses and cutting speed, feed, depth of cut as input parameters.I want to get optimal cutting conditions using firefly algorithm .
Can u show me demo how to write matlab coding using firefly algorithm??

MALATHI R K

MALATHI R K

### MALATHI R K (view profile)

Sir, i am trying to implement algorithm in c.. please give me the steps to implement this for correlating with what I have done..

bajuri satu

### bajuri satu (view profile)

can i ask how to use this algorithm for optimizing svr parameter?

jasmin mary

### jasmin mary (view profile)

sir can i use FA for optimization of TMD parameters

sangeetha natarajan

### sangeetha natarajan (view profile)

Sir, i have used your algorithm in matlab and could get nice results. But if i try to implement the same logic in c for embedded applications, it is not working if i increase the firefly population beyond 25. What would be the problem in it ??? i couldnt guess it.

Sun Zhen

thanks

Aravinth

### Aravinth (view profile)

Sir,
I need the firefly algorithm demo in order to use at the fusion level. I already tested with cuckoo search algorithm.

Josephine Amala

thanks

Chinchu Thomas

toan le

Vasanthamani

### Vasanthamani (view profile)

We require this to understand the concept

yaser moniri

### yaser moniri (view profile)

thanks

Jagatheesan Kaliannan

### Jagatheesan Kaliannan (view profile)

realy good

Jagatheesan Kaliannan

### Jagatheesan Kaliannan (view profile)

Dr. M. Venkateshkumar

Ashraf K.

v.Good

hamed abdulaziz

### hamed abdulaziz (view profile)

Please I wonder if it is possible to use Firefly Algorithm for features selection,where I have one dimensional array of features like Contrast,Correlation,Homogeneity,Cluster prominence,Energy,and...etc,and I want to use Firefly Algorithm to choose the best features of them,please could you guide me to do this job?thanks in advance.

behrang

TNX .

SCU

### SCU (view profile)

Thank you so much, Dr. Yang

d g

very good..

hong

Luc

### Luc (view profile)

I used firefly algorithm to solve a multimodal design problem
with 149 design variables, it works very efficiently.

escato carreira

### escato carreira (view profile)

Does this algorithm solve multi-objective problems with non-linear constrains?

Jackson Shen

### Jackson Shen (view profile)

Haven't look in detail. The first impression is great.

It is nice that the algorithm is implemented by the author.

Great Job!