ILOG CPLEX 11.0 Getting Started > Tutorials > Interactive Optimizer Tutorial > Reading Problem Files > Using File Extensions

If the file name has an extension that corresponds to one of the supported file formats, ILOG 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