blob: 2c3ae7d0d6d4c90d80f55cfc6b3c1eed02734804 (
plain)
1
2
3
4
5
6
7
8
|
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
[x_sol, energy] = fminsearch(fitness_simplified, lens_placement(index,:), optimset('TolFun',1e-5,'MaxFunEvals',MaxFunEvals,'MaxIter', MaxIter));
end
|