SMS dit: Flexible solutions to systems of linear equalities and inequalities :