Changeset 2271


Ignore:
Timestamp:
Jan 20, 2012 11:21:32 AM (8 years ago)
Author:
bradbell
Message:

change_const.cpp: use optimization in the example.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/example/change_const.cpp

    r2270 r2271  
    103103        g.Dependent(a1_u, a1_J);
    104104
     105        // remove extra variables used during the reconding of a1_f,
     106        // but not needed any more.
     107        g.optimize();
     108
    105109        // compute the Jacobian of f using zero order forward
    106110        // sweep with double values
Note: See TracChangeset for help on using the changeset viewer.