12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

◆ blanks in lieu of repeated name fields, such as bound vector names and righthand sidenames.You can convert fixed-format MPS files that contain those conventions into acceptable<strong>ILOG</strong> <strong>CPLEX</strong>-extended MPS files. To do so, use the convert utility supplied in thestandard distribution of <strong>ILOG</strong> <strong>CPLEX</strong>. The convert utility removes unreadable featuresfrom fixed-format MPS, BAS, and ORD files. It runs from the operating system prompt ofyour platform. Here is the syntax of the convert utility:convert -option inputfilename outputfilenameYour command must include an input-file name and an output-file name; they must bedifferent from each other. The options, summarized in Table 6.1, indicate the file type. Youmay specify only one option. If you do not specify an option, <strong>ILOG</strong> <strong>CPLEX</strong> attempts todeduce the file type from the extension in the file name.Table 6.1 Options for the convert Utility and Corresponding File ExtensionsOption File type File extension-m MPS (Mathematical Programming System) .mps-b BAS (basis file according to MPS conventions) .bas-o ORD (priority orders) .ordUsing Concert XML ExtensionsConcert Technology for C++ users offers a suite of classes for serializing <strong>ILOG</strong> <strong>CPLEX</strong>models (that is, instances of IloModel) and solutions (that is, instances of IloSolution)through XML. The Concert Technology C++ API Reference <strong>Manual</strong> documents the XMLserialization API in the group optim.concert.xml. That group includes these classes:◆◆IloXmlContext allows you to serialize an instance of IloModel or IloSolution.This class offers methods for reading and writing a model, a solution, or both a modeland a solution together. There are examples of how to use this class in the referencemanual.IloXmlInfo offers methods that enable you to validate the XML serialization ofelements, such as numeric arrays, integer arrays, variables, and other extractables fromyour model or solution.<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!