In this tutorial, I show implementation of an optimization problem and solving it using Pattern Search in MATLAB. The given objective function is a simple function that helps a beginner user to understand the basic concept of optimization in MATLAB easier. The given objective function or fitness function has two input variable and one output. In the second part of the tutorial I show how to write a prameterized form of the objective function. I write a simple script to model the problem and solving the optimization problem using the ‘patternsearch’ function from MATLAB.

For a simple tutorial on optimization using Genetic Algorithm with single objective functions without constraints see this video:

For a simpler tutorial on optimization using Genetic Algorithm with single objective functions with constraints see this video:

For a tutorial on multi-objective optimization using Genetic Algorithm see this video:

for a tutorial on Mixed-interger optimization problem using linear programming see:




Reminder !

If you own a Miami business, then you need to get on the SEO train. Check out this SEO company in Miami.


Leave a Reply