Thank you for this. I am also having the Exact same problem and it did solve by just using ElementwiseProblem due to higher number of variables.