The problem should be entered in the following order:
The CPLEX>
prompt returns, indicating that you can again enter a ILOG CPLEX command.
Entering a problem in ILOG CPLEX is straightforward, provided that you observe a few simple rules:
maximize
or minimize
must precede the objective function; the term subject to
must precede the constraints section; both must be separated from the beginning of each section by at least one space.
bounds
must be alone on a line preceding the bounds section.
end
must appear.