Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
GA_ANswers

Subject: GA_ANswers

From: ravindra

Date: 24 Jun, 2011 08:05:19

Message: 1 of 2

Hello,
I asked this question before a week,
When we solve optimization problem using GA optimtool we get the answer but if we again solve the same problem we get different answer. SO how to identify the global solution or how to obtain the global optimum using GA. Even on command window also we meet the same situation,
Please share an idea if anybody knowing this. Please its argent
Thank you

Subject: GA_ANswers

From: Krishna Kumar

Date: 24 Jun, 2011 10:15:08

Message: 2 of 2

"ravindra " <ravikamodkar@gmail.com> wrote in message <iu1gfv$5vh$1@newscl01ah.mathworks.com>...
> Hello,
> I asked this question before a week,
> When we solve optimization problem using GA optimtool we get the answer but if we again solve the same problem we get different answer. SO how to identify the global solution or how to obtain the global optimum using GA. Even on command window also we meet the same situation,
> Please share an idea if anybody knowing this. Please its argent
> Thank you
Ravindra,
           GA, being a stochastic (non deterministic) algorithm can not return same results over runs.
In fact GA and for that matter any evolutionary algorithm does not guarantee global optimum. For more details you can refer documentation of the toolbox or some standard GA tutorials. The strength of GA is that it can solve large number of problems, cutting across fields. If the result does not vary drastically, that means GA is doing its job well. Now, it is your job to take one of those results, or mean as your desired result.
hth
Krishna

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us