It looks like in your inequality, the solution would strongly depend on whether (2*d*m - e + w) is positive or negative, and also whether d is positive or negative.
Try looking at the documentation for the function solve_ineq which uses Maxima to solve single inequalities in one variable or systems of inequalities in several variables.