How to solve a max recursion error using python MIP?
- Dominant language
- Linear Programming
- Stars
- 600
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.