-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpc中的solution为空 #4
Comments
FYI, 我的相关版本: Ipopt-3.12.13 CppAD-20190200.1 |
我是直接跑model_predictive_control的例子的,没有修改任何东西,两个库也安装成和你一样的版本,运行时还是报下面的错误: |
如果你可以搞成一个docker环境,并且复现相关问题的话 我可以帮你看一下 |
MPC 出来的路径不对啊, |
问题解决了吗。我也遇到了 |
应该是ipopt缺少依赖HSL (Harwell Subroutines Library)。 |
你好~
我编译通过了model_predictive_control.cpp文件通过了,两个依赖库也安装了,但是运行会显示数数组超界限,然后发现里面求解的
// solve the problem
CppAD::ipopt::solve<Dvector, FG_EVAL>(
options, vars, vars_lowerbound, vars_upperbound, constraints_lowerbound,
constraints_upperbound, fg_eval, solution);
这一步中的solution 求解出来的为空.
库应该时安装对的,你知道是哪里有问题吗?
谢谢~
The text was updated successfully, but these errors were encountered: