ContentsIndexHome
PreviousUpNext
IAimmsMathProgramCallback::CallbackInfoFlag Enumeration

The CallbackInfoFlag enumeration describes a set of flags with possible callback situations, as passed via the flags input argument of the RunCallback method.

enum CallbackInfoFlag {
  CB_ITERATION = 0x00000001,
  CB_STATE_CHANGE = 0x00000002,
  CB_INT_SOLUTION = 0x00000004,
  CB_ADD_CUT = 0x00000008,
  CB_HEURISTIC = 0x00000010,
  CB_INCUMBENT = 0x00000020,
  CB_BRANCH = 0x00000040,
  CB_ADD_LAZY_CON = 0x00000080,
  CB_TIME = 0x00000100
};
Members 
Description 
CB_ITERATION = 0x00000001 
A fixed number of n iterations has passed. 
CB_STATE_CHANGE = 0x00000002 
Change of state, e.g., from infeasible to feasible. 
CB_INT_SOLUTION = 0x00000004 
New integer solution (MIP only). 
CB_ADD_CUT = 0x00000008 
Adding cuts (MIP only). 
CB_HEURISTIC = 0x00000010 
Heuristic callback (MIP only). 
CB_INCUMBENT = 0x00000020 
New incumbent solution found but might be rejected by the AIMMS user inside the callback procedure (MIP only). 
CB_BRANCH = 0x00000040 
Branching callback (MIP only). 
CB_ADD_LAZY_CON = 0x00000080 
Adding lazy constraints (MIP only). 
CB_TIME = 0x00000100 
A fixed number of n second has passed. 
Copyright © 1993–2016 by AIMMS B.V. All rights reserved.