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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

sections does not matter. To enter the general integer variable of the Stating a MIP Problemon page 256, you type this:generalsx4You may also read MIP data in from a formatted file, just as you do for linear programmingproblems. Understanding File Formats on page 144 in this manual lists the file formatsbriefly, and the <strong>ILOG</strong> <strong>CPLEX</strong> Reference <strong>Manual</strong> documents file formats, such as MPS, LP,and others.◆◆To read MIP problem data into the Interactive Optimizer, use the read command with anoption to indicate the file type.To read MIP problem data into your application, use the importModel method inConcert Technology or use CPXreadcopyprob in the Callable Library.Displaying MIP ProblemsTable 14.2 summarizes display options in the Interactive Optimizer that are specific to MIPproblems.Table 14.2 Interactive Optimizer Display Options for MIP ProblemsInteractive commanddisplay problem binariesdisplay problem generalsdisplay problem semi-continuousdisplay problem integersdisplay problem sosdisplay problem statsPurposelists variables restricted to binary valueslists variables restricted to integer valueslists variables of type semi-continuous andsemi-integerlists all of the abovelists the names of variables in one or moreSpecial Ordered Setslists LP statistics plus:• binary variable types, if present;• general variable types, if present;• and number of SOS, if present.In Concert Technology, use one of the accessors supplied with the appropriate object class,such as IloSOS2::getVariables.From the Callable Library, use the routines CPXgetctype and CPXgetsos to access thisinformation.258 <strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL

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

Saved successfully!

Ooh no, something went wrong!