<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks for your reply!<br><br>I think I will do some benchmarking then, to see which<br>of the two approaches works best for my problem.<br><br>The approach suggested by Norm is certainly interesting,<br>but I think I have to little experience with optimization<br>to implement it successfully. At least for the moment.<br><br>Sincerely,<br><br>Ingrid<br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Wed, 10 Apr 2013 22:51:22 +0200<br>> From: awalther@math.uni-paderborn.de<br>> To: ingridhallen@hotmail.com<br>> CC: normvcr@telus.net; adol-c@list.coin-or.org<br>> Subject: Re: [ADOL-C] Evaluating Hessian of Lagrangian<br>> <br>> Hi<br>> <br>> sorry for entering the discussion so late but I was on travel<br>> the last days and most of the time offline.<br>> <br>> If you can exploit the minor size of the reduced Hessian<br>> the approach proposed by Norm is certainly the best way to go<br>> since it requires the least number of Hessian vector product<br>> which determines the cost of the derivative calculation.<br>> <br>> However, I am not sure whether Ipopt can really exploit this.<br>> Regarding the other approaches discussed so far:<br>> <br>> We made the experience that it really depends on the application<br>> whether<br>> <br>> * tracing the Lagrangian once with x and lambda as inputs<br>> and evaluating only a part of the Hessian reusing the trace<br>> in all iterations<br>> <br>> or<br>> <br>> * retracing the Lagrangian with x as adoubles and lambda as doubles<br>> in each iteration and computing then the whole Hessian<br>> <br>> performs better in terms of runtime. You could give both approaches<br>> a try and see what works better for you. Both approaches have their<br>> pros and cons with respect to efficiency.<br>> <br>> Best regards<br>> <br>> Andrea<br>> <br>> -- <br>> Prof. Dr. Andrea Walther<br>> Lehrstuhl fuer Mathematik und ihre Anwendungen<br>> Institut fuer Mathematik<br>> Universitaet Paderborn<br>> Warburger Str. 100<br>> 33098 Paderborn<br>> <br>> Email: andrea.walther@uni-paderborn.de<br>> Phone: ++49 5251 602721<br>> ++49 5251 602724 (sekr.)<br>> Fax: ++49 5251 603728<br>> <br>> **********<br>> <br>> <br>> <br></div>                                            </div></body>
</html>