max S b(i) y(i)
however this is the dual problem we need the patterns which are in the primal
so letís make the dual of the above problem