[CppAD] Sources Goddard Rocket using CppAD and Ipopt

Brad Bell bradbell at seanet.com
Fri Aug 8 13:04:58 EDT 2008


Thanks for your example problem. There was a bug in the example file
    
https://projects.coin-or.org/CppAD/browser/trunk/example/ipopt_cppad_nlp.cpp
I have fixed it. You can see the correction at
    https://projects.coin-or.org/CppAD/changeset/1257
Please try running the corrected version of this file with your example 
and using the retape equals false option.



Jens A. Berger wrote:
> Dear Brad
>
> In the attached (ipopt_cppad_rocket.tgz) I provide the sources of our
> ipopt_cppad_nlp goddard rocket implementation (See the cops examples
> about the goddard rocket: http://www-unix.mcs.anl.gov/~more/cops/cops3.pdf).
>
> To run ipopt_cppad_rocket unpack ipopt_cppad_rocket.tgz, adapt the
> Makefile with the path to your cppad and Ipopt installations (we used
> /usr/local/tools/cppad and CoinIpopt) and compile the code.  Do not
> forget to export LD_LIBRARY_PATH=/usr/local/tools/CoinIpopt/build/lib.
> You can change the number of discretization (k) at the start of
> ipopt_cppad_rocket.cpp and for writing of data in ipopt_cppad_nlp.cpp.
>
> In the example retape is enabled otherwise the derivative test in Ipopt
> would fail (dense/sparse problem). We would deeply appreciate if you
> could advise us how to apply conditional expressions to the problem so
> that sparse matrices can be given to IPOPT.
>
>
> Greetings, Jens
>
>
> Brad Bell wrote:
>   
>> I do not remember receiving a copy of you implementation. If I did, I
>> must have lost it. Would you please send it again.
>>
>>
>> Jens A. Berger wrote:
>>     
>>> Dear Brad,
>>>
>>> may did you already find some time to have a look at our rocket
>>> implementation? We would deeply appreciate if you could advise us how
>>> to apply conditional expressions to the problem.
>>>
>>> Thanks and Greetings, Jens
>>>
>>>       
>
>   



More information about the CppAD mailing list