MEX interface for IPOPT solver

조회 수: 54 (최근 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 CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by