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