This PR edits the solve function in grb_solver to catch gurobi errors
When the solution is infeasible the grb.getAttr('X') in line 72 returns a gurobipy.GurobiError
Before this PR the try-except catches only AttributeError and therefore program crash
This PR edits the
solve
function ingrb_solver
to catch gurobi errors When the solution is infeasible thegrb.getAttr('X')
in line 72 returns agurobipy.GurobiError
Before this PR the try-except catches onlyAttributeError
and therefore program crash