Function clingo_sys::clingo_solve_handle_resume [] [src]

pub unsafe extern "C" fn clingo_solve_handle_resume(
    handle: *mut clingo_solve_handle_t
) -> bool

Discards the last model and starts the search for the next one.

If the search has been started asynchronously, this function continues the search in the background.

Note: This function does not block.

Parameters:

  • handle - the target

Returns whether the call was successful; might set one of the following error codes:

  • ::clingo_error_bad_alloc
  • ::clingo_error_runtime if solving fails