Subgradient algorithms for solving variable inequalities