Add MaxOnline, MaxSpareNode, MinSpareNode constraints

5 constraints:
minSpareResources, minSpareNode
maxSpareResources, maxSpareNode
maxOnlines

Discrete: All worked.
Continuous: only maxSpareResource worked.