Param Patel

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

Activity overview

Latest activity by Param Patel
  • Param Patel commented,

    Thankyou for your reply Jaromil. I changed the constraint which was incorrect. But the issue still persists. The thing is I also tried the same problem using PuLP solver, I can find an optimal solu...

  • Param Patel commented,

    Sorry, yes I meant r1t[i,j]

  • Param Patel commented,

    Thank you for your reply Jaromil. The problem is with formulating the variables. Here,variable r[i,j] is not being assigned properly. Thus, the model always picks variable r as 0 at all timesteps. ...

  • Param Patel commented,

    Thank you for your reply. I tried that approach but it did not work  def model_variables_and_constraints(model, tk, v1_t, v2_t, e1, e2, v, T_full_charge, T_top_up, delta_t):     r1t = {}     e1t =...

  • Param Patel created a post,

    Value Update after every iteration

    Awaiting user input

    Hello Community, I am facing issues while updating the values of energy variable e1t after every iteration. Please refer to the following code and output,  for i in range(len(v1_t)):         for j...

  • Param Patel created a post,

    initialization

    Ongoing

    Hello,  How can I assign a constant value to a variable at a particular timestep? i have a set {8,16,24,32}. I tried formulating it as a linear expression, (8b1+16b2+..), enforcing sum value as 1, ...