How to solve the optimization problem as follows

function is f(x)=x(1)^2-cos(5*x(1))+x(2)^2-cos(5*x(2)),x(1),x(2)belong to the real number

 Accepted Answer

You can include this function as the objective functions and the related constraints as being real numbers. You can use either GUI optimtool or you can write the codings in the m file editor. Based on the choice of algorithm you can formulate the related codes like GA,PSO,SA, BO etc.

More Answers (0)

Categories

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!