oldalpha = alpha;
oldobj = obj;
olddx = dx;
%oldhessdiag = hessdiag;
