dwmw function

Solver for (generalized) linear MM warnings