Solved discrete MinSpareResources constraint.

not solve continuous and MinSpareNode