Ask Your Question

Revision history [back]

To use p.get_values, you should first do p.solve() first. However, in your case, there is no solution:

sage: p.solve()
MIPSolverException: GLPK: Problem has no feasible solution