How to run CPLEX on the Mathematics Network Schaefer, Fall 1995 CPLEX is a powerful linear optimizer which can solve large-scale linear problems, network problems and mixed integer problems. The complete User's Manual is on the shelves in Jones 113. To get started on the Sun computer, just type CPLEX after logging in. For small programs you can work directly within CPLEX, but for larger formulations, you can formulate in emacs, then call up your emacs file while in CPLEX, in order to execute it. The advantage in using emacs is that it is easier to edit using emacs. CPLEX allows you to edit but only with much more effort. If you have created an emacs file with your problem formulation, just tell CPLEX to read it using CPLEX> read (return) It will then request the name of the file. When it has read the problem, you can run it on CPLEX by just typing "Optimize". You can print your output by copying your CPLEX output into an emacs file and printing it as usual. To quit CPLEX, just type "CPLEX> quit" (return). If a file has been changed and will be stored in CPLEX, be sure to save it first. To solve mixed integer problems, enter the problem in the usual way, but before executing it, and after the formulation, type "integers" (return). On the next line list the integer variables by name. Network and pure integer problems may also be solved by CPLEX. For details, see the user's manual.