MEX interface for IPOPT solver

37 ビュー (過去 30 日間)
Stefanie Aebersold
Stefanie Aebersold 2018 年 5 月 9 日
コメント済み: Haozheng Xue 2022 年 7 月 5 日
Hi I am trying to install the IPOPT solver for nonconvex optimization (I think there is no solver for this case in the Matlab optimization toolbox, right?). Now I need the MEX interface so that the solver can be used from MATLAB (see https://projects.coin-or.org/Ipopt/wiki/MatlabInterface). I don't really understand how this works. I also read the documentation on C mex file applications but I think I didn't get it. What are the specific steps to configure MATLAB such that it builds MEX files? Thanks for any hints.
  2 件のコメント
Mads
Mads 2019 年 8 月 12 日
I managed to get the Ipopt mex-file for win 10, from OPTI Toolbox, but I had prefered to have for Mac. Which OS did you need it for and have you gotten it?
Haozheng Xue
Haozheng Xue 2022 年 7 月 5 日
Hi Mads could you please share your IPOPT mex-file for win 10 please?

サインインしてコメントする。

回答 (1 件)

Mary Fenelon
Mary Fenelon 2018 年 5 月 9 日
Give fmincon in Optimization Toolbox a try using its default interior-point algorithm. If it converges, it will be to a local optima, the same as IPOPT.
  1 件のコメント
Mingyang Sun
Mingyang Sun 2021 年 12 月 9 日
No...... the fmincon in Optimization Toolbox is a horrible interior-point solver for large scale non-convex problem, comparing to the IPOPT. OPTI-toolbox or MexIPOPT is recommanded.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by