ProbMaxIntraMinInter objective function