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


user_receive_cp_data

int user_receive_cp_data(void **user)

Description:

The user has to receive here all problem-specific information sent from user_send_cp_data() function in the master module. The user has to allocate space for all the data structures, including user itself. Note that this function is only called if the either the Tree Manager, LP, or CP are running as a separate process (i.e. either COMPILE_IN_TM, COMPILE_IN_LP, or COMPILE_IN_CP are set to FALSE in the make file). Otherwise, this is done in user_send_cp_data(). See the description of that function for more details.

Arguments:

void **user INOUT Pointer to the user-defined data structure.

Return values:

USER_ERROR Error. Cut pool module exits.
USER_SUCCESS The user received data successfully.
USER_DEFAULT The user did not send any data to be received.

Invoked from:
cp_initialize at module start-up.




next up previous contents
Next: user_receive_lp_solution_cp Up: User-written functions of the Previous: User-written functions of the
Ted Ralphs
2003-10-16