optimization using GA in matlab

I'm trying to optimize the following equation with genetic algorithm in matlab Max f (x1,x2) = 5,3 + x1 sin (2ℼx1) + x2 sin (11ℼx2) with bounded : -1,0 ≤ x1 ≤ 8,5 and 1,12 ≤ x2 ≤ 4,31 any comment would highly appreciated..

Answers (1)

Alan Weiss
Alan Weiss on 13 Jul 2017
For an example (more complicated than you need, but should be easy enough to understand), see constrained minimization using ga.
Alan Weiss
MATLAB mathematical toolbox documentation

Asked:

on 12 Jul 2017

Answered:

on 13 Jul 2017

Community Treasure Hunt

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

Start Hunting!