First time here? Check out the FAQ!
answered 2019-10-01 01:26:52 +0100
To use p.get_values, you should first do p.solve() first. However, in your case, there is no solution:
p.get_values
p.solve()
sage: p.solve() MIPSolverException: GLPK: Problem has no feasible solution