unsupported operand type(s) for *: 'int' and 'dict' for constraint
Awaiting user inputI was trying to get each matrix of parameters by reading data from excel. After defining parameters into dictionaries in python; I'm getting an error while making constraint definition. Error is unsupported operand type for int and dict. I coulnd't find the way to figure out the problem. Please help me with fixing this issue. Thank you
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Could you please share at least one of the excel files you use to make this issue reproducible? It would be great if you could reduce the size of the problem further to only use 1 excel file and 1 \(\texttt{for}\)-loop.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments