ILOG CPLEX 11.0 File Formats > > ILOG CPLEX File Formats > ORD File Format: Priorities and Branching Orders |
ORD File Format: Priorities and Branching Orders |
INDEX PREVIOUS NEXT |
If you use the ILOG CPLEX MIP optimizer, the ORD file format is available to indicate priority orders and branching directions for specific variables. Variables that are not given an explicit priority or that do not appear in an ORD file are assigned 0 (zero) priority. An ORD file begins with a NAME
indicator record and ends with an ENDATA
record.
Integer variables are specified, one per line, with an optional branching direction (UP
or DN
) beginning in column 2 and 3. Names begin in column 5 or beyond. The variable name and its priority must be separated by one or more blank spaces.
Here is an example of an ORD file:
NAME x3 10 DN x5 5 UP x7 ENDATA |
ORD files created using CPLEX versions 2.1 or earlier used a fixed format in which the various data fields were limited to eight characters in length and restricted to specific columnar positions in each line. The extensions provided in the new ILOG CPLEX ORD file reader allow for more descriptive names and greater overall input flexibility. Most fixed-format ORD files conform to the new format. Any files that do not conform can be converted to the new format using the convert
utility that comes with the standard ILOG CPLEX distribution. Converting File Formats explains how to use that utility.
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |