Git Product home page Git Product logo

Comments (6)

onlytailei avatar onlytailei commented on May 18, 2024

FYI, 我的相关版本: Ipopt-3.12.13 CppAD-20190200.1
在我这运行没有问题,请注意你有没有给所有变量设置上下界

from cpprobotics.

chengfenghuayu avatar chengfenghuayu commented on May 18, 2024

我是直接跑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.

onlytailei avatar onlytailei commented on May 18, 2024

如果你可以搞成一个docker环境,并且复现相关问题的话 我可以帮你看一下

from cpprobotics.

longjianquan avatar longjianquan commented on May 18, 2024

MPC 出来的路径不对啊,

from cpprobotics.

SilvAmumu avatar SilvAmumu commented on May 18, 2024

我是直接跑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.

qq543811 avatar qq543811 commented on May 18, 2024

应该是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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.