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

Activity overview

Latest activity by Charitha Buddhika Heendeniya
  • Charitha Buddhika Heendeniya commented,

    Dear Swapnil, Could you please let me know the method you used to create a multidict using pandas?

  • Charitha Buddhika Heendeniya created a post,

    DeprecationWarning: elementwise comparison failed

    Hi, I was hoping that one of you might be able to shed some light on the following warning message that I have been getting. Optimal solution found (tolerance 1.00e-04)Best objective 0.000000000000...

  • Charitha Buddhika Heendeniya commented,

    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...

  • Charitha Buddhika Heendeniya created a post,

    Dead kernel

    Answered

    Dear community, I came across something rather annoying :) When I execute the optimization problem, the solver ends with an optimal solution. Then I extract the solution and try to print/ plot them...

  • Charitha Buddhika Heendeniya created a post,

    Select variables in feasRelax()

    Answered

    Dear community, In the Model.feasRelax() documentation the model.getVars() is used to assign the set of variables whose bounds are allowed to violate when calling feasRelax(). But what if I want to...

  • Charitha Buddhika Heendeniya created a post,

    SOS constraint problem

    Answered

    Dear community, I'm trying to model the part-load efficiency (cop) of a heat pump as a function of the installed capacity and the load-level. In a simple case, let's take that the installed capacit...

  • Charitha Buddhika Heendeniya created a post,

    MIP solution process - updating the incumbent objective value

    Answered

    Dear community, I have a question about the MIP solution process, something I observed during a simulation. In the following image, you see that the incumbent objective bound (which I understand as...

  • Charitha Buddhika Heendeniya commented,

    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...

  • Charitha Buddhika Heendeniya commented,

    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...

  • Charitha Buddhika Heendeniya created a post,

    Part-load efficiency curve modelling in Gurobi

    Dear community, I would like to model the efficiency of a heat pump as a function of its load level, e.g., efficiency(T) = a*load_level(T)+b, where a and b are constants and T is time.  I have two ...