Comments (6)
FYI, 我的相关版本: Ipopt-3.12.13 CppAD-20190200.1
在我这运行没有问题,请注意你有没有给所有变量设置上下界
from cpprobotics.
我是直接跑model_predictive_control的例子的,没有修改任何东西,两个库也安装成和你一样的版本,运行时还是报下面的错误:
cppad-20190200.1 error from a known source:
vector: index greater than or equal vector size
Error detected by false result for
i < length_
at line 478 in the file
/usr/include/cppad/utility/vector.hpp
mpc: /usr/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)
from cpprobotics.
如果你可以搞成一个docker环境,并且复现相关问题的话 我可以帮你看一下
from cpprobotics.
MPC 出来的路径不对啊,
from cpprobotics.
我是直接跑model_predictive_control的例子的,没有修改任何东西,两个库也安装成和你一样的版本,运行时还是报下面的错误:
cppad-20190200.1 error from a known source:
vector: index greater than or equal vector size
Error detected by false result for
i < length_
at line 478 in the file
/usr/include/cppad/utility/vector.hpp
mpc: /usr/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)
问题解决了吗。我也遇到了
from cpprobotics.
应该是ipopt缺少依赖HSL (Harwell Subroutines Library)。
可以按照官方文档中方法安装依赖:https://coin-or.github.io/Ipopt/INSTALL.html#DOWNLOAD_HSL
或者直接用脚本重新安装ipopt:https://blog.csdn.net/weixin_37532614/article/details/105124200
from cpprobotics.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpprobotics.