The problem is: I want to know if there is abelian subalgebra of dimension $k$ in Lie algebra of dimension $n$. My Lie algebra is given by its structure constant table. There are some algorithms around, like version of method of undefined coefficients. It reduces the problem to system of polynomial equations and then to computation of Groebner Bases. However, it seems to be not very efficient, because complexity of algorithm for computing Groebner Bases is very high...
How do you think: is there any more thin method? Probably, some more advanced things from theory of Lie algebras?