Skip to main content

Unsupported Type (<class 'pandas.core.series.Series'>) for LinExpr Argument

Awaiting user input


1 comment

  • Simon Bowly
    Gurobi Staff Gurobi Staff

    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.


Please sign in to leave a comment.