Amin Shahmardan

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

Activity overview

Latest activity by Amin Shahmardan
  • Amin Shahmardan created a post,

    How to define a semi-continuous variable in Gurobi/Python?

    Answered

    Hi Suppose we have a continuous variable "x" and a parameter "\theta". Now, we want to define the variable "y" as follows: y = \theta*x   if x>0;        0             if x=0 I would be thankful to ...