subdim-methods function

Returns the dimension of each valid subproblem