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)...
-
2$\begingroup$ What types of problem are you trying to globally optimize? New for 9.x, Gurobi solves (at least attempt to) non-convex quadratics in objective and/or constraints, to global optimality. That includes bilinear expressions as special cases of non-convex quadratics. $\endgroup$ – Mark L. Stone Jul 12 '20 at 1:27
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 '20 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 '20 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 '20 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 '20 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 '20 at 18:56
You can also download our Octeract Engine - it's free for students and academic staff and solves a superset of the problem types that BARON and KNITRO do (global optimality for non convex problems + trigonometric & nonsmooth & discontinuous problems).