MAXEP Problem in Execution

I am confused with the Constraint and the subtask limits. which limit should i use in my code. When i used limit of constraints,my Subtask 1 only (1-4) were executed.