[CppAD] yq = f.Forward(q, xq): a zero order Taylor coefficient is nan. What usually causes it?

Hank xu hank.xuhaoyun at gmail.com
Mon Apr 20 19:53:40 EDT 2020


Hi,

I'm a new user of CppAD library and am trying to use it with Ipopt. I
implemented my formulation following the format from this example
<https://www.coin-or.org/CppAD/Doc/ipopt_solve_get_started.cpp.htm>, and
now is stuck with this error;

 yq = f.Forward(q, xq): a zero order Taylor coefficient is nan

After both searching online and looking through source code, I could not
figure out the root cause of this error. I'm not too familiar with the
automatic differentiation field and would love to get some help on how to
tackle this. Any help would be greatly appreciated!

Best,
Haoyun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cppad/attachments/20200420/3ab92482/attachment.html>


More information about the CppAD mailing list