【IPOPT】Ubuntu安装IPOPT非线性优化求解器

IPOPT(Interior Point OPTimizer)是一款开源的非线性优化求解器,在自动驾驶规控中会用到,之前在这里卡了很久,现在终于装上了。

ipopt文档:https://coin-or.github.io/Ipopt/

基本安装流程如下:

1.安装CppAd、blas、curses、coinor等依赖项


sudo apt-get install -y cppad
sudo apt-get install libncurses5-dev libncursesw5-dev
sudo apt install coinor-libipopt-dev

在这里插入图片描述

2.下载并编译ipopt


wget https://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.7.zip 
unzip Ipopt-3.12.7.zip 
cd Ipopt-3.12.7
./configure
# 一定要看到配置成功
 
# 编译
make
make test
make install

在这里插入图片描述

在这里插入图片描述

参考:

https://blog.csdn.net/qcxyliyong/article/details/103348632
https://zhuanlan.zhihu.com/p/520848641
https://blog.csdn.net/chentao1206/article/details/51280610
https://blog.csdn.net/weixin_34945803/article/details/118582379
https://www.chuxin911.com/IPOPT_intro_20210906/

以上。

猜你喜欢

转载自blog.csdn.net/qq_40344790/article/details/129958532
今日推荐