Cassiano Tavares

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

Activity overview

Latest activity by Cassiano Tavares
  • Cassiano Tavares commented,

    I have to solve in each iteration a cluster that is in dict_F_l. This dictionary has the cluster key and the values ​​of the farms that I need to solve in each iteration. Thus, in the first iterati...

  • Cassiano Tavares commented,

    I see...thank you soo much for this analogy! It's very clear to me now. There is anyway that is possible to define sets dynamically into the loop? (Uptading all model)

  • Cassiano Tavares commented,

    Sorry... I believe that the message above is not clear enough... Unfortanelly this strategy (model.copy) don´t work to mee.... I give this error: AttributeError: Unable to retrieve attribute 'x'   ...

  • Cassiano Tavares commented,

    %%time global Z1,Z2,Z3,Z4   # Build the new objective function Z1= gp.quicksum(theta[v,l,t] for v in V for l in L for t in T) Z2 =  gp.quicksum((ViolaUmin[v,l,t]+ViolaUmax[v,l,t])*PenEqVar[t]  for ...

  • Cassiano Tavares commented,

    I need to build the large model once and, solved it in each iteration only the variables associated to pair (key, value) of my dictionary. This strategy is based in decoposition. My problem has ten...

  • Cassiano Tavares created a post,

    Change sets in a optimization loop

    Ongoing

    I had large problem to solve and, I´m decided to create a methaeuristic for decomposit it. Basic I have to redefine 2 sets in a loop: print(dict_F_l.items()) dict_items([(0, [6, 8, 9]), (1, [5, 7...

  • Cassiano Tavares commented,

    Hi Jaromil, a have a similar problem. I need to delete and insert the same objective function during each iteration in the loop of the rolling horizon. I  coded my model in Pyomo framework and used...