Charitha Buddhika Heendeniya

  • Gurobi-versary
  • Conversationalist
  • Curious
  • Total activity 27
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 10

Comments

Recent activity by Charitha Buddhika Heendeniya Recent activity Votes
  • Dear Swapnil, Could you please let me know the method you used to create a multidict using pandas?

  • Hi Matthias, Thank you very much. I tried to run the same problem with a reduced number of constraints and then this issue does not appear. I tried creating a new environment, reinstalling anaconda...

  • Thank you Eli. So I added (with Gurobi 9.0); model.Params.NonConvex = 2 model.addConstrs(v_hp_load_level[T]*v_hp_power[T] == v_installed_capacity for T in Time) There were some problems but after I...

  • UPDATE - Another try using table lookup method p_hp_cop = {0:1.5, 0.2:2.3, 0.4:3.4, 0.6:3.7, 0.8:3.85}  #Create a lookup table (dict) for different load levels (key) and efficiency (value) model.ad...

  • Dear Silke, Thank you very much. What are t and T? - You are correct, that was a typo. I had longer variable and set names in the actual code and I replaced them with short symbols when I copied th...

  • Hi Silke, Thank you for your reply. Let me show you a small example.  In the following image, I have defined several technologies (key) and several energy flows resulting from those technologies. S...

  • Dear Eli, Thank you for your answer. It really helps. I didn't realize that addGenConstrAbs() has two arguments :) And yes, you are right, there is a typo in my post.  Thank you again, Buddi