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.

Dynamic control of the solution process of MIPs is provided through goals or controlcallbacks. They are discussed in Using Goals on page 427, and in Using OptimizationCallbacks on page 445. Goals and callbacks allow you to control the solution process basedon information that is generated during the solution process. Goals and Callbacks: aComparison on page 469 contrasts the advantages of each approach.Accessing Solution InformationInformation about solution feasibility, solution variables, basis information, and solutionquality can be accessed with the methods documented in the following sections.◆ Accessing Solution Status on page 57◆ Querying Solution Data on page 58◆ Accessing Basis Information on page 59◆ Performing Sensitivity Analysis on page 59◆ Analyzing Infeasible Problems on page 59◆ Solution Quality on page 60Accessing Solution StatusCalling cplex.solve returns a Boolean indicating whether or not a feasible solution (butnot necessarily the optimal one) has been found. To obtain more of the information about themodel that <strong>ILOG</strong> <strong>CPLEX</strong> found during the call to the solve method, cplex.getStatuscan be called. It returns a member of the nested enumeration IloAlgorithm::Status.The fully qualified names of those symbols have the IloAlgorithm prefix. Table 1.6 showswhat each return status means for the extracted model.<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 57

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

Saved successfully!

Ooh no, something went wrong!