An ASCII text solution file is created in the Concert Technology Library with the member function IloCplex::exportModel(), in the Callable Library with the CPXwritesol() routine, or in the Interactive Optimizer via the write command. In either case the file type "TXT" should be specified. If a file name with a .txt extension is specified, the file type may be omitted. A solution file consists of three sections: heading, rows, and columns.
A heading section in an ASCII-text solution file lists the following information: