diff options
Diffstat (limited to 'find_min.m')
-rw-r--r-- | find_min.m | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,7 +1,5 @@ function [ x_sol, energy ] = find_min( index, lens_placement, fitness_simplified, MaxFunEvals, MaxIter ) -%FIND_MIN Summary of this function goes here -% Detailed explanation goes here - +%Minimizes energy for given solution [x_sol, energy] = fminsearch(fitness_simplified, lens_placement(index,:), optimset('TolFun',1e-5,'MaxFunEvals',MaxFunEvals,'MaxIter', MaxIter)); end |