www.pudn.com > calibr8.zip > dsobjg.m


function g=dsobjg(x) 
% Usage: 
% g=dsobjg(x) 
% Calculates the gradient  of the objective function 
% at a point  for Shell Dual Problem 
global A B C D E  
x=x(:);g=x;  
g(1:5)=6*D.*x(1:5).^2 + 2*C*x(1:5); 
g(6:15)= - B;