Skip to main content

GurobiError: Unsupported type (<class 'gurobipy.TempConstr'>) for LinExpr addition argument

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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?.
  • Sergio Vanegas
    • Gurobi-versary
    • First Question
    • First Comment

    I solved it, thanks :)

    m.addConstrs((gp.quicksum(z[i,j,k,l] for i,j,l in pacientes_salas_hora)<=16 for k in cirujanos),name="fisico_total")

    0

Post is closed for comments.