| > > ILOG CPLEX File Formats > VEC File Format |
VEC File Format |
INDEX
PREVIOUS
NEXT
|
This file format is available if you use the ILOG CPLEX barrier optimizer. In a VEC file, spaces differentiate entries on a line. Blank spaces are not allowed within names or values. Blank lines are not permitted.
ILOG CPLEX reads and writes VEC files in a standard format consisting of a NAME line, VARIABLE lines, CONSTRAINT lines, and an END line.
NAME line, a single line, the first in the file, defines the name of the problem. For example,
NAME problem-name |
VARIABLE lines, a separate one for each variable, consist of four fields, like this:
c cname primal-value reduced-cost |
CONSTRAINT lines, a separate one for each constraint, also consist of four fields, like this:
r rname slack-value dual-value |
END line, consisting of the token ENDATA, completes a VEC file.
| Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |