The "cplexamp" program is a version of CPLEX for AMPL that comes with IBM's CPLEX distribution. The "license file not found" error that you are seeing is from an old IBM license manager, which no longer works. Also in the IBM CPLEX distribution there is a program called "cplex" which is unrelated to AMPL and will cause errors if you try to run "option solver cplex;".
You can try instead to specify our CPLEX for AMPL explicitly, for example with the following command typed in the IDE:
option solver '..\cplex';
Or you can give a full pathname, as in
option solver 'C:\Users\yourname\AMPL\cplex';
but substituting the pathname of your own AMPL folder. Once you have verified that this works, you can fix the problem permanently by removing the old CPLEX distribution (or moving it out of your system search path).
--
Robert Fourer
am...@googlegroups.com