Using file extensions
Support for file extensions in the Interactive Optimizer follows these conventions.
If the file name has an extension that corresponds to
one of the supported file formats, CPLEX automatically reads it without
your having to specify the format. Thus, the following command automatically
reads the problem file example.lp in LP
format:
read example.lp