How I can fix this error '''AttributeError: 'dict' object has no attribute 'solve'
It appears after I tried to solve(P)
:
G = I.groebner_basis()
P = {}
ind = 0
for i in range (n):
if (GB[i].degree() < num):
ind = ind+1
P[ind] = G[i]
solve(P)