Data entry options
CPLEX supports a variety of data entry options.
CPLEX provides several options for entering your problem data. When using the Interactive Optimizer, most users will enter problem data from formatted files. CPLEX supports the industry-standard MPS (Mathematical Programming System) file format as well as CPLEX LP format, a row-oriented format many users may find more natural. Interactive entry (using CPLEX LP format) is also a possibility for small problems.
Data entry options are described briefly in this manual. File formats are documented in the reference manual, File formats supported by CPLEX.
Concert Technology and Callable Library users may read problem data from the same kinds of files as in the Interactive Optimizer, or they may want to pass data directly into CPLEX to gain efficiency. These options are discussed in a series of examples that begin with Building and solving a small LP model in C++, Building and solving a small LP model in Java, and Building and solving a small LP model in C for the CPLEX Callable Library users.
Users can also read models from Python. For more about that approach, see the topic Reading and writing CPLEX models to files with Python in the tutorial for Python users in this manual.