Using path names

These special considerations with respect to path names apply in the Interactive Optimizer.

You can also include a full path name (as long as the string is less than 512 bytes in length) to specify to CPLEX on which drive and directory to save a file. The following write command is valid if the disk drive on your system contains a root directory named problems:


write /problems/example.lp 

Summary

The general syntax for the write command is:


write filename file_format

or


write filename.file_extension

where file_extension indicates the format in which the file is to be saved.