Is there a way to obtain a free BARON or Knitro license? I am doing academic research and I really need these global optimization solvers (Knitro is not necessarily for global optimization, although it is pretty strong in many problems in global optimization)...


You can use BARON and Knitro for free from the NEOS Server. Also, you have the following options:

  • If you are in the first year of graduation, you can apply for a one-year free graduate student license of AMPL which includes both solvers.
  • If you are an individual with a CMU or UIUC email address or related to sponsors of the CAPD you can have a free academic license.
  • $\begingroup$ Thanks for your answer. Is there any way to obtain an academic API for MATLAB, etc? I think sending models to the server repeatedly is not too practical at the research. $\endgroup$ – independentvariable Feb 21 at 1:49
  • $\begingroup$ Yes, some universities support academic license for Matlab as well. Check with your university's IT department to see whether they have such a service or not. $\endgroup$ – Oguz Toragay Feb 21 at 1:51
  • 3
    $\begingroup$ If you cannot get free access to MATLAB, you might check whether GNU Octave would work for you. It is open source and tries to be compatible with MATLAB. $\endgroup$ – prubin Feb 21 at 21:40
  • $\begingroup$ My university does not have MATLAB API for these solvers. We only have thme via GAMS. I really need the API since I wrote hundreds of line codes in MATLAB and I can't change the whole code. But I am also now aware that there is no much options I have ... :) $\endgroup$ – independentvariable Feb 22 at 18:26
  • 1
    $\begingroup$ @independentvariable, maybe page 12 and the provided link to the codes in optimization-online.org/DB_FILE/2007/01/1559.pdf can be helpful. $\endgroup$ – Oguz Toragay Feb 22 at 18:56

You can also download our Octeract Engine - it's free for personal non-commercial use and it solves a superset of the problem types that BARON and KNITRO do (global optimality for non convex problems + trigonometric & nonsmooth & discontinuous problems).

The only limitation is that you'll need to download the newest version every 30 days while the engine is in beta.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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