28-03-2017, 03:42 PM
Random search algorithm (Pure RSA)
This is the simplest algorithm of optimization (minimization), you can find many related topics on the Internet. Here, I will provide a MATLAB code for this algorithm.
The problem here is min f (x): f (x) = Σ x (i) ^ 2
In our problem i = 1, ..., n where n = 2; So we will have a convex surface. The range of our variables are: x (i) ε [-5,5]
This is the simplest algorithm of optimization (minimization), you can find many related topics on the Internet. Here, I will provide a MATLAB code for this algorithm.
The problem here is min f (x): f (x) = Σ x (i) ^ 2
In our problem i = 1, ..., n where n = 2; So we will have a convex surface. The range of our variables are: x (i) ε [-5,5]