• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ebertolazzi/mexIPOPT: MATLAB interface for IPOPT

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ebertolazzi/mexIPOPT

开源软件地址(OpenSource Url):

https://github.com/ebertolazzi/mexIPOPT

开源编程语言(OpenSource Language):

C++ 85.0%

开源软件介绍(OpenSource Introduction):

View ebertolazzi/mexIPOPT on File Exchange

mexIPOPT

by Enrico Bertolazzi

This is my rewrite of Peter Carbonetto MATLAB interface for IPOPT a software package for large-scale ​nonlinear optimization.

Source code and documentation for IPOPT can be downloaded from:

https://projects.coin-or.org/Ipopt

On OSX IPOPT can be installed using Homebrew (http://brew.sh).

Why do a job already done?

The original MATLAB interface (https://projects.coin-or.org/Ipopt/wiki/MatlabInterface) seems not maintained for OSX and do not work with recent MATLAB distributions. I have reorganized and simplified the original interface (only internally) and eliminated the bug (due to MATLAB change in the managing of sparse pattern) in the interfacing of sparse pattern between MATLAB and IPOPT. Moreover I tried to improve error catching.

How to install

Use the toobox installer at

download and run in MATLAB to install following the instruction.

How to compile

Compilation shuold be not necessary. To (re-)compile the mex file for your architecture

  • change the working directory to the toolbox directory.
  • run the script CompileIpoptMexLib.

if all the thing go well open

  • run the script setup and them ../IPOPT-toolbox.prj to compile the toolbox.

at this point you find the recompiled toolbox at

  • ../IPOPT-toolbox.mltbx

Examples

In the directory toolbox/example you find the original examples of Peter Carbonetto which shows the usage of the interface.

In the directory test_TRAIN you find a complex example of an Optimal Control Problem solved using direct trascription and transformed to an NLP solved using IPOPT. The descriptin of the problem is at

MA57, MA77, MA86, MA97, PARDISO

IPOPT can can use HSL library (https://www.hsl.rl.ac.uk) and PARDISO (https://pardiso-project.org). These libraries can improve the performance of the solver. Due to copyright issues these libraries cannot be included in IPOPT executable. Read README_HSL.md to see how to use these libraries in your applications.

Author:

Enrico Bertolazzi
Department of Industrial Engineering
University of Trento
[email protected]



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
trekhleb/machine-learning-octave: 发布时间:2022-08-17
下一篇:
xioTechnologies/x-IMU-MATLAB-Library发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap