cppad-20200905 error from a known source:
vector: index greater than or equal vector size
Error detected by false result for
i < length_
at line 341 in the file
/usr/local/include/cppad/utility/vector.hpp
MPC_Node: /usr/local/include/cppad/utility/error_handler.hpp:206: static void CppAD::ErrorHandler::Default(bool, int, const char*, const char*, const char*): Assertion `false' failed.
Aborted (core dumped)
And I print the vars,the vars' value are zero,like this:
When I run the MPCNode.cpp I got this error:
And I print the vars,the vars' value are zero,like this:
And the solution.x is none:
How to fix it?I'm very appreciate it!Thanks.