Get the solver status from a solution
solver_status(solution)
solution
character vector being either "infeasible", "optimal", "unbounded", "userlimit" or "error
Useful links