next up previous contents Back to SYMPHONY Home Page
Next: user_check_cut Up: User-written functions of the Previous: user_receive_lp_solution_cp

   
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:

ERROR Cuts are not checked for this LP solution.
USER_NO_PP The user is prepared to check cuts.

Invoked from:
Whenever an LP solution is received.



Ted Ralphs
2000-09-08