real coded genetic algorithm

5 views (last 30 days)
vetri
vetri on 26 Sep 2014
Commented: dada khalendar on 20 Feb 2016
i have found the objective function.i don't know how to use objective fun in real coded genetic algo in matlab code (or) in matlab toolbox
  5 Comments
vetri
vetri on 29 Sep 2014
how to change objective function..but in my project the objective fun should be maximized.
dada khalendar
dada khalendar on 20 Feb 2016
can i see your program code ?

Sign in to comment.

Answers (1)

Alan Weiss
Alan Weiss on 29 Sep 2014
The documentation shows how to maximize instead of minimize. Basically, just take the negative of your objective function.
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

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

Start Hunting!