Upasana Chakraborty

Gurobi-versary
Conversationalist
First Question
  • Total activity 9
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Activity overview

Latest activity by Upasana Chakraborty
  • Upasana Chakraborty commented,

    Hi Matthias,I have a follow up question, how does Gurobi figure out how many cores it can use? What i understood is that we need to write a function that tells Gurobi how many cores to use and what...

  • Upasana Chakraborty commented,

    Hi Elizabeth,  Than you for your response. I had tried that before but i was getting this error: TypeError: unsupported operand type(s) for -=: 'NoneType' and 'float' I guess the issue here is that...

  • Upasana Chakraborty commented,

    When i try the same : model.addConstrs((y[(i,j)]==1 for (i,j) in arc_cost.keys()) >> (arc_cost[(i,j)] <= 5014 for (i,j) in arc_cost.keys())) i get an error saying : TypeError: unsupported operand t...

  • Upasana Chakraborty created a post,

    Writing constraints in Gurobi

    Answered

    How can one write a constraint using implication in Gurobi? For example, If variable y is 1 then it implies that variable x is also equal to 1.

  • Upasana Chakraborty commented,

    Hi Tobias, Thank you for your response. I had done something similar but it either gives a value of 0 for the objective function or throws this error: 'MIP start from previous solve did not produce...

  • Upasana Chakraborty commented,

    Hi Arun, Did you find a way to solve your problem in Gurobi? I am trying something similar so it would help if you can share. Thanks