<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>
I used IPOPT to solve a convex QP with linear constraint. I manage it
with C++ interface and solution is correct but function evaluation is
time consuming. It seems to me that evaluation of the hessian of the
jacobian is espicially too long whereas it is constant for such type of
problem.<br>
</div>
<div>
I try to define the column and row index and non zeros value in class
variable in the get_nlp_info method of the interface and in eval_h i
just copy in iRow, jRow and value variable. But it doesn t work, to have
a correct solution i have to made a std::copy of my member pointer data
my_col, my_row and my_value. I don't understand why and i do not save
time with a memory copy.<br>
</div>
<div>
My first question: Is it a good way ta save time in fcntion evaluation, in particular for convex QP?<br>
My Second quastion: Why it need to perform a memory copy from my pointer of the pointer of the interface<br>
</div>
<div>
I appreciate your help.<br>
</div>
Best regards,<br>
Erwan Jolivet<br>
Biomehcanical ingeneer.</div></body></html>