<div dir="ltr"><div><div dir="ltr">Hi Hong, <br><br></div><div>Thanks for the explanation! <br><br></div><div>If I have a cost function consisting of an L2 norm of the difference of a TS-solution and some reference along with some constraints (say bounds, L1-sparsity, total variation etc), would I provide a routine for gradient evaluation of only the L2 norm (where TAO would take care of the constraints) or do I also have to take the constraints into account (since I'd also have to differentiate the regularizers) ? <br><br></div><div dir="ltr"><br clear="all"></div></div>Thank You, <br><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px">Sajid Ali | PhD Candidate<br></div><div style="font-size:12.8px">Applied Physics<br></div><div style="font-size:12.8px">Northwestern University</div><div style="font-size:12.8px"><a href="http://s-sajid-ali.github.io" target="_blank">s-sajid-ali.github.io</a></div></div></div></div></div></div></div></div></div>