Code covered by the BSD License  

Highlights from
Speeding Up Optimization Problems with Parallel Computing

image thumbnail

Speeding Up Optimization Problems with Parallel Computing

by

 

Files from the webinar: Speeding up optimization problems with parallel computing

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

motorOptimizationTask(z,a,u,alpha,LB)
function znew = motorOptimizationTask(z,a,u,alpha,LB)

% Copyright 2010 The MathWorks, Inc.
% optimization options
op = optimset('useParallel','always','Disp','iter','Algorithm','SQP',...
              'TolCon',1e-4);
sys = @(z) motorSystem(z,a,u,alpha);          
znew = fmincon(sys,z,[],[],[],[],LB,[],sys,op);

Contact us