While using Python MIP for an MIP problem, I get the following error:
RuntimeError: maximum recursion depth exceeded while calling a Python object
I'm using the same approach as with cvxpy, of course with mip for problem formulation and solving with CBC.
I've also tried increasing the recursion limit with no success. For background, I'm feeding data including supply, demand, and pricing multi-dimensional arrays that are of size ~290 x ~310, with supply as ~290x1. The allocation is solved for a 13 month timeframe, with each month being an iteration of a loop and new problem/model for each iteration. Another point to add is that the first period is solved successfully.
While using Python MIP for an MIP problem, I get the following error:
RuntimeError: maximum recursion depth exceeded while calling a Python object
I'm using the same approach as with cvxpy, of course with mip for problem formulation and solving with CBC.
I've also tried increasing the recursion limit with no success. For background, I'm feeding data including supply, demand, and pricing multi-dimensional arrays that are of size ~290 x ~310, with supply as ~290x1. The allocation is solved for a 13 month timeframe, with each month being an iteration of a loop and new problem/model for each iteration. Another point to add is that the first period is solved successfully.
Any suggestions?