Unsupported Type (<class 'pandas.core.series.Series'>) for LinExpr Argument
Awaiting user inputI'm working with data taken from an excel file. If I use part of the data the code works fine. However, if I try to use all the data, I get an error. I attach photo error.
0
-
Hi Elena,
It looks like you have a pandas Series somewhere in your algebraic expression. Are arrival_rate or service_time pandas data structures?
If you are building Gurobi models using data stored in pandas Series and DataFrames, I suggest taking a look at the gurobipy-pandas library.
0
Please sign in to leave a comment.
Comments
1 comment