[ADOL-C] ADOL-C Digest, Vol 18, Issue 4
Kshitij Kulshreshtha
kshitij at math.upb.de
Wed Oct 2 08:19:50 EDT 2013
Hello,
yes you are correct, setting repeat=1 will effectively reuse the pattern
and seed matrix allocated the last time, if you are using the
sparse_jac/sparse_hess drivers.
Regards.
Kshitij
As on 2013-09-30 14:28h, Pierre Martinon did write:
>
> /
> //For the sparse_jac() call it does save some time if the sparse
> structure is preallocated, especially if you call it many times with
> similar structure. If the pattern remains the same always you should
> indeed store the pattern and the seed matrix and call only forward /
> reverse followed by recovery. /
>
> Hi everyone,
>
> I am probably missing something here, but what is the difference between
> manually preallocating / storing the pattern, and just using repeat=1 ?
>
> Thanks!
> Pierre
>
>
> _______________________________________________
> ADOL-C mailing list
> ADOL-C at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/adol-c
>
--
Dr. Kshitij Kulshreshtha
Institut für Mathematik,
Universität Paderborn,
Warburger Straße 100,
33098 Paderborn.
Büro: A3.235
Privatanschrift:
Arnikaweg 62
33100 Paderborn.
More information about the ADOL-C
mailing list