0
$\begingroup$

I'm facing a non-linear programming problem which currently I'm solving with fmincon function of MATLAB. However, I'm not very happy with computation times and solution convergence since it only converges when setting the algorithm option to 'active-set' and computation times depends heavily on the initial condition.

I'm wondering if there exist free good general non-linear programming solvers with MATLAB interface since I would like to check if they can solve it more efficiently than fmincon.

$\endgroup$
2
  • 1
    $\begingroup$ Welcome to SciComp.SE! To get useful answers, you should be as specific as possible about the problem you're actually trying to solve -- capabilities differ widely (and broad "shopping list" questions are discouraged on the SE network). $\endgroup$ Commented Sep 15, 2017 at 16:18
  • $\begingroup$ Have you taken a look at not using MATLAB? Julia via JuMP and Optim are good candidates here. $\endgroup$ Commented Sep 15, 2017 at 16:43

1 Answer 1

2
$\begingroup$

OPTI Toolbox (https://www.inverseproblem.co.nz/OPTI/) gives you access to a number of solvers, including IPOPT which often performs well. MATLAB binaries are only shipped for WIN64 though.

Are you supplying derivatives to fmincon?

$\endgroup$
2
  • $\begingroup$ Than you!. I will take a look at that toolbox. $\endgroup$
    – Julio
    Commented Sep 15, 2017 at 14:22
  • $\begingroup$ Yes, I'm supplying derivatives the non-linear constraints and the objective function (although the objective function is linear). However, I have a kinda weird situation where some of the derivatives I'm supplying are computed by finite-differencing because its analytical expression takes 7 sheets... $\endgroup$
    – Julio
    Commented Sep 15, 2017 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.