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.

◆From the Callable Library, use the routine CPXbaropt.◆ In the Interactive Optimizer, use the command optimize.With default settings, each of these approaches will result in the barrier optimizer beingcalled to solve a continuous QCP.The barrier optimizer is the only optimizer available to solve QCPs.However, in a mixed integer quadratically constrained programming ( MIQCP) problem,you can specify whether <strong>ILOG</strong> <strong>CPLEX</strong> solves a QCP relaxation or LP relaxation of thesubproblems. The MIQCP strategy parameter (MIQCPStrat, CPX_PARAM_MIQCPSTRAT)lets you specify which type of relaxation to solve.Numeric Difficulties and Quadratic ConstraintsA word of warning: numeric difficulties are likely to be more acute for QCP than for LP orQP. Symptoms include:◆lack of convergence to an optimal solution;◆ violation of constraints.Consequently, you will need to scale your variables carefully so that units of measure areroughly comparable among them.Examples: QCPFor examples of QCPs, see these variations of the same problem inyour<strong>CPLEX</strong>home/examples/src:◆◆◆◆qcpex1.ciloqcpex1.cppQCPex1.javaQCPex1.cs<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 251

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

Saved successfully!

Ooh no, something went wrong!