[ADOL-C] Large size advector slows down run time?

Choi Ji-Wung ji-wung.choi at scania.com
Thu Mar 8 11:42:14 EST 2018


Hi,

I am using IPOPT-3.12.8 + ADOL-C-2.6.3 to solve NLP.
NLP requires to evaluate dynamically changing indices in an array of 160000 elements.
So it seems obvious to use advector.

But only constructing such size of advector slows down runtime, significantly:

  advector vec(160000);
  // vec is not even used anywhere.
  // But, after constructing the variable, runtime of IpoptApplication::OptimizeTNLP() that internally calls ADOL-C has become significantly slower.

Do you have any suggestion to resolve this problem?

Thanks.

Ji-wung Choi Ph.D.
Development Engineer  |  Autonomous Transport Solutions  |  Scania CV AB
Phone: +46 8 553 824 29  Mobile: +46 70 080 67 95
[cid:image001.png at 01D24647.7250B580]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20180308/3179dcfc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8316 bytes
Desc: image001.png
URL: <http://list.coin-or.org/pipermail/adol-c/attachments/20180308/3179dcfc/attachment.png>


More information about the ADOL-C mailing list