fixed MinSpareResource discrete & continuous model.