Get the solver status from a solution

solver_status(solution)

Arguments

solution

a solution

Value

character vector being either "infeasible", "optimal", "unbounded", "userlimit" or "error