Skip to content

mpc中的solution为空 #4

@chengfenghuayu

Description

@chengfenghuayu

你好~
我编译通过了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 求解出来的为空.
库应该时安装对的,你知道是哪里有问题吗?
谢谢~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions