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

   
user_receive_lp_data

int user_receive_lp_data (void **user)

Description:

The user has to receive here all problem-specific information sent from the master, set up necessary data structures, etc. Note that the data need only be actively received and the user data structure allocated if either the TM or LP modules are configured as separate processes. Otherwise, data will have been copied into appropriate locations in the master function user_send_lp_data(). The two cases can be handled by means of #ifdef statements. See comments in the source code stubs for more details. Note that the data must be received in exactly the same order as it was sent from the master. See Section 1.7 for more notes on receiving data.

Arguments:

void **user OUT Pointer to the user-defined LP data structure.

Return values:

ERROR Error. SYMPHONY aborts this LP process.
USER_NO_PP User received the data.

Wrapper invoked from:
lp_initialize() at process start.




next up previous contents
Next: user_free_lp Up: User-written functions of the Previous: var_desc
Ted Ralphs
2000-09-08