Changeset 3707


Ignore:
Timestamp:
Aug 16, 2015 12:23:09 PM (5 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: bcc054a68dd167c73d578bf420a3a631b327e72d
end hash code: d15b95f6fc28aad327295d1206aa1a0619716931

commit d15b95f6fc28aad327295d1206aa1a0619716931
Author: Brad Bell <bradbell@…>
Date: Sun Aug 16 09:22:03 2015 -0700

Work on wish list items for checkpointing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/omh/wish_list.omh

    r3697 r3707  
    4343$section The CppAD Wish List$$
    4444
     45$head checkpoint$$
     46It would be more flexible to also have a
     47$cref/checkpoint constructor/checkpoint/constructor/$$
     48that passed in an $cref ADFun$$ object instead of a algorithm.
     49Perhaps the syntax would be
     50$codei%
     51        checkpoint %afun%(%name%, %ad_fun%)
     52%$$
     53$list number$$
     54An extra flag could determine if a separate copy of $icode ad_fun$$
     55was made or if a pointer was used.
     56Note that if a pointer is used, it becomes invalid when the destructor
     57for $icode ad_fun$$ is called.
     58$lnext
     59There should be an option to hold onto sparsity patterns so they
     60do not need to be recalculated for every use of the checkpoint function.
     61$lnext
     62There should be some examples and tests for both speed and memory use
     63that demonstrate that checkpointing is useful.
     64$lnext
     65See the $cref/sparsity/WishList/Conditional Expressions/Sparsity/$$
     66wish list item under conditional expressions.
     67$lend
     68
    4569$head abort_op_index$$
    4670When a known error is detected during $cref forward$$ or $cref reverse$$ mode,
     
    91115See the $cref/problem/BenderQuad/Problem/$$ with the
    92116current $code BenderQuad$$ specifications.
    93 
    94 $head Checkpointing$$
    95 It would be more flexible to also have a
    96 $cref/checkpoint constructor/checkpoint/constructor/$$
    97 that passed in an $cref ADFun$$ object instead of a algorithm.
    98 Perhaps the syntax would be
    99 $codei%
    100         checkpoint %afun%(%name%, %ad_fun%, %copy%)
    101 %$$
    102 where $icode copy$$ would determine if a separate copy of $icode ad_fun$$
    103 was made or if a pointer was used.
    104 Note that if a pointer is used, it becomes invalid when the destructor
    105 for $icode ad_fun$$ is called.
    106117
    107118$head Conditional Expressions$$
Note: See TracChangeset for help on using the changeset viewer.