Tooba Khan

  • Gurobi-versary
  • First Comment
  • First Question
  • Total activity 6
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 2

Posts

Recent activity by Tooba Khan Recent activity Votes
  • Atmost k constraint in Gurobipy.

    Awaiting user input

    How can I add an atmost k constraint in Gurobipy? I have an array of gurobi variable, I want atmost 5 of these variables to have non zero values.

  • Error in addition of absolute values of variables.

    Answered

    Hi, I am trying to add the absolute values of 16 variables. But gurobipy is throwing the following error: TypeError: unsupported operand type(s) for +: 'GenExprAbs' and 'GenExprAbs' How can I sum u...