Hi,
I am trying to run AMPL api in Matlab 2016a, and after installation, upon running firstExample, I get the following error message:
Error using AMPL (line 21)
Java exception occurred:
com.ampl.LicenseException: Unrecognized license format. AMPL
version:
AMPL Version 20141216 (Intel icl EMT64 10.1.029, 64-bit)
at com.ampl.AMPL.<init>(AMPL.java:201)
at com.ampl.AMPL.<init>(AMPL.java:140)
Error in firstExample (line 3)
ampl = AMPL;
I have an AMPL academic license.
Any idea of what goes wrong? Thanks.
Best,
Lorenzo