Function Highs_setCallback

Source
pub unsafe extern "C" fn Highs_setCallback(
    highs: *mut c_void,
    user_callback: HighsCCallbackType,
    user_callback_data: *mut c_void,
) -> HighsInt
Expand description

Set the callback method to use for HiGHS

@param highs A pointer to the Highs instance. @param user_callback A pointer to the user callback @param user_callback_data A pointer to the user callback data

@returns A kHighsStatus constant indicating whether the call succeeded.