Skip to main content
FRAMES NO FRAMES

Struct Context::Id

Definition file: ilcplex/ilocplexi.h

This struct designates places in which a CPLEX generic callback can be invoked. The values defined here specify in which contexts CPLEX can invoke a callback. They are used in two different ways:

For details about the various context values, see the reference manual of the Callable Library (C API).

Important notes about the ThreadDown context:

Think of ThreadUp and ThreadDown as "constructor" and "destructor": the destructor is invoked only if the object was fully constructed and is not allowed to throw an exception.

Attribute Summary
static CPXLONG constBranching
static CPXLONG constCandidate
static CPXLONG constGlobalProgress
static CPXLONG constLocalProgress
static CPXLONG constRelaxation
static CPXLONG constThreadDown
static CPXLONG constThreadUp
Attribute Detail

Branching

static CPXLONG const Branching

See the documentation of CPX_CALLBACKCONTEXT_BRANCHING in the reference manual of the Callable Library (C API).


Candidate

static CPXLONG const Candidate

See the documentation of CPX_CALLBACKCONTEXT_CANDIDATE in the reference manual of the Callable Library (C API).


GlobalProgress

static CPXLONG const GlobalProgress

See the documentation of CPX_CALLBACKCONTEXT_GLOBAL_PROGRESS in the reference manual of the Callable Library (C API).


LocalProgress

static CPXLONG const LocalProgress

See the documentation of CPX_CALLBACKCONTEXT_LOCAL_PROGRESS in the reference manual of the Callable Library (C API).


Relaxation

static CPXLONG const Relaxation

See the documentation of CPX_CALLBACKCONTEXT_RELAXATION in the reference manual of the Callable Library (C API).


ThreadDown

static CPXLONG const ThreadDown

See the documentation of CPX_CALLBACKCONTEXT_THREAD_DOWN in the reference manual of the Callable Library (C API).


ThreadUp

static CPXLONG const ThreadUp

See the documentation of CPX_CALLBACKCONTEXT_THREAD_UP in the reference manual of the Callable Library (C API).