Our CPLEX for AMPL is distributed as an executable file cplex.exe. But the IBM "ILOG" distribution also contains a cplex.exe, which is the executable for a simple CPLEX command interface that is unrelated to AMPL. When you have two (or more) cplex.exe files on your computer, AMPL may not run the one that you intend, depending on where the files are located and how the Path environment variable is set.
You could try this quick fix. In the "ILOG" folders, find the file named "cplex.exe" and rename it to something else (say, cplex0.exe).
Bob Fourer
am...@googlegroups.com
=======