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.

C H A P T E R30Using Optimization CallbacksThis chapter introduces optimization callbacks. Callbacks allow you to monitor closely andto guide the behavior of <strong>ILOG</strong> <strong>CPLEX</strong> optimizers. In particular, <strong>ILOG</strong> <strong>CPLEX</strong> callbacksallow user code to be executed regularly during an optimization or during a tuning session.To use callbacks (either optimization or tuning callbacks) with <strong>ILOG</strong> <strong>CPLEX</strong>, you must firstwrite the callback function, and then pass it to <strong>ILOG</strong> <strong>CPLEX</strong>.There are three types of optimization callbacks: informational callbacks, query callbacks,and control callbacks. You will find additional information about callbacks in this manualinCallbacks for Tuning on page 167 and in Advanced MIP Control Interface on page 483.This chapter, concentrating on optimization callbacks, includes information about:◆ Informational Callbacks on page 446◆ Query or Diagnostic Callbacks on page 449◆ Control Callbacks on page 451◆ Implementing Callbacks in <strong>ILOG</strong> <strong>CPLEX</strong> with Concert Technology on page 454◆ Example: Deriving the Simplex Callback ilolpex4.cpp on page 458◆ Implementing Callbacks in the Callable Library on page 460◆ Example: Using Callbacks lpex4.c on page 461◆ Example: Controlling Cuts iloadmipex5.cpp on page 462◆ Interaction Between Callbacks and <strong>ILOG</strong> <strong>CPLEX</strong> Parallel Optimizers on page 467<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 445

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

Saved successfully!

Ooh no, something went wrong!