Changeset 1276 for trunk/test_more


Ignore:
Timestamp:
Sep 7, 2008 8:15:44 AM (12 years ago)
Author:
bradbell
Message:

trunk: Make function representation in ipopt_cppad_nlp more verastile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/ipopt_cppad.cpp

    r1275 r1276  
    2222                // Evaluation of the objective f(x), and constraints g(x)
    2323                // using an Algorithmic Differentiation (AD) class.
    24                 ADVector r_eval(const ADVector&  x)
     24                ADVector r_eval(size_t k, const ADVector&  x)
    2525                {       ADVector fg(2);
    2626
     
    3434                        return fg;
    3535                }
    36                 bool retape(void)
     36                bool retape(size_t k)
    3737                {       return true; }
    3838        };
Note: See TracChangeset for help on using the changeset viewer.