Originally posted by: SystemAdmin
Thanks Daniel, Here is what I did:
=====================
From the terminal:
export PATH=/Users/ameera/Desktop/AMPL:$PATH
export ILOG_LICENSE_FILE=/Users/ameera/ILOG/ilm/access.ilm
Now "which cplexamp" gives me:
/Users/ameera/Desktop/AMPL/cplexamp
And "cat $ILOG_LICENSE_FILE" gives me:
LICENSE IBM ILOG Optimization Suite for Academic Initiative
EVAL CPLEX 12.000 01-Jul-2012 K7VWH3DAWRTJ any , options: e m b q
EVAL OPLStudio 6.000 01-Jul-2012 F8PUJ2CMSNV5 any , options: ide
EVAL CP-Optimizer 2.000 01-Jul-2012 U7A4N1T2M5SJ any
EVAL Solver 6.000 01-Jul-2012 YWXE82PYSG0F any
EVAL Scheduler 6.000 01-Jul-2012 4742Y20A80EN any
EVAL Dispatcher 4.000 01-Jul-2012 NX7JM0620XR5 any
I then open the ampl executable from the folder "/Users/ameera/Desktop/AMPL".
Still "solve" gives me the same error:
cplexamp: CPLEX Error 32201: ILM Error 16: CPLEX: license file not found or unreadable.
Am I missing something in the steps?
#CPLEXOptimizers#DecisionOptimization