user_prepare_to_check_cuts

[cf]user_prepare_to_check_cuts
int user_prepare_to_check_cuts(void *user, int varnum, int *indices, 
                               double *values)

Description:

This function is invoked after an LP solution is received but before any cuts are tested. Here the user can build up data structures (e.g., a graph representation of the solution) that can make the testing of cuts easier in the user_check_cuts function.

Arguments:

void *user IN Pointer to the user-defined data structure.
int varnum IN The number of nonzero/fractional variables described in indices and values.
int *indices IN The user indices of the nonzero/fractional variables.
double *values IN The nonzero/fractional values.

Return values:

USER_ERROR Cuts are not checked for this LP solution.
USER_SUCCESS The user is prepared to check cuts.
USER_DEFAULT There are no user-defined cuts in the pool.

Invoked from:
Whenever an LP solution is received.

Ted Ralphs
2007-12-21