sym_set_user_data

int sym_set_user_data(sym_environment *env, void *user)

Description:

This routine is used to give SYMPHONY a pointer to the user's problem data structure. This pointer will then be handed back to the user during subsequent calls to user callbacks. This allows the user to store static problem data. Note that this pointer can also be stored by filling out the callback function user_initialize().

Arguments:

sym_environment *env INOUT Pointer to the SYMPHONY environment.
void *user IN Pointer to the user defined problem structure.

Return values:

ERROR__USER Error in the passed in user structure.
FUNCTION_TERMINATED_ABNORMALLY Function invoked unsuccessfully
FUNCTION_TERMINATED_NORMALLY Function invoked successfully.