If the external solver's optimization aborts with an error condition, or if limits are exceeded, the event 'CPLEX_ABORT' is raised. The default event handler is cplex_abort_handler/2, which prints a message and aborts. However, the handler is user-definable, so a more sophisticated handler could for instance change parameter settings and call lp_solve again.