Package cplex :: Package _internal :: Module _callbackinfoenum :: Class CallbackInfo
 

Class CallbackInfo


The values that can be used with cplex.callbacks.Context.get_int_info(), cplex.callbacks.Context.get_long_info(), and cplex.callbacks.Context.get_double_info().

See the reference manual of the CPLEX Callable Library (C API) for the constants in the enumeration CPXCALLBACKINFO for details about what those values query.

Instance Methods

Inherited from constant_class.ConstantClass: __getitem__, __init__, __iter__

Class Variables
  thread_id = 0
See CPXCALLBACKINFO_THREADID in the C API.
  node_count = 1
See CPXCALLBACKINFO_NODECOUNT in the C API.
  iteration_count = 2
See CPXCALLBACKINFO_ITCOUNT in the C API.
  best_solution = 3
See CPXCALLBACKINFO_BEST_SOL in the C API.
  best_bound = 4
See CPXCALLBACKINFO_BEST_BND in the C API.
  threads = 5
See CPXCALLBACKINFO_THREADS in the C API.
  feasible = 6
See CPXCALLBACKINFO_FEASIBLE in the C API.
  time = 7
See CPXCALLBACKINFO_TIME in the C API.
  deterministic_time = 8
See CPXCALLBACKINFO_DETTIME in the C API.
  node_uid = 9
See CPXCALLBACKINFO_NODEUID in the C API.
  node_depth = 10
See CPXCALLBACKINFO_NODEDEPTH in the C API.
  candidate_source = 11
See CPXCALLBACKINFO_CANDIDATE_SOURCE in the C API.
  restarts = 12
See CPXCALLBACKINFO_RESTARTS in the C API.
  after_cut_loop = 13
See CPXCALLBACKINFO_AFTERCUTLOOP in the C API.
  nodes_left = 14
See CPXCALLBACKINFO_NODESLEFT in the C API.