TRY NOW!
AMPL > >Versions and Platforms > >How can I determine the version number of the copy of AMPL that I’m currently running?

You can look at the current version message by invoking AMPL with the -v command-line switch:

% ampl -v
AMPL Version 20120619 (Intel icl EMT64 10.1.029, 64-bit)
Licensed to John von Neumann (JOHNNIAC).
Trial license expires 20130930.

Or, at any point in an AMPL session, you can see the version message by looking at the contents of AMPL’s version option, by typing option version or print $version.

The 8-digit number represents a date in the form yyyymmdd – 30 September 2013 in this example. You can compare this date against the dates of the entries in the AMPL change logs and in the write-ups of new AMPL features.

Posted in: Versions and Platforms