|
Call AIMMS to run a user-defined callback procedure.
Parameters |
Description |
_LONG_T flags |
A bit field indicating which callback situation occurred. The flags are specified in the CallbackInfoFlag enumeration. |
_LONG_T prog_int[] |
Array of size IntegerCallbackInfo::CB_IMAX, indexed over the IntegerCallbackInfo enumeration, containing integer valued callback progress information. |
double prog_dbl[] |
Array of size DoubleCallbackInfo::CB_DMAX, indexed over the DoubleCallbackInfo enumeration, containing double-valued callback progress information. |
The RunCallback method returns a value from the InterruptReturnStatus list.
By calling the RunCallback method you allow AIMMS to run a user-defined callback procedure. In such a procedure the user can monitor the solution process. Before a solve, AIMMS calls the method to indicate at which moments it expects the solver to run this callback. Possible moments are:
For more information on user defined solver callbacks, see Section Suffices and callbacks of the Language Reference.