Ana Guasque Ortega

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

Activity overview

Latest activity by Ana Guasque Ortega
  • Ana Guasque Ortega commented,

    Many thanks, Jaromil, now it is totally understood.  Maybe I should consider another way of modelling the problem since each of the lists may have up to 100 values, approximatelly. Maybe it becames...

  • Ana Guasque Ortega commented,

    Many many thanks, Jaromil! I get the point, I think I can do it. But, what if the values are not following any sequence? How to obtain the value of v2 in that case? for example: dict={'a':[1,1,2,2,...

  • Ana Guasque Ortega commented,

    Hi again, Jaromil! Many thanks, it worked.  However, it does not solve my problem. Maybe I did not explain it well. What I want is to find the value of the variable. Imagine this: dict={'a':[12,24,...

  • Ana Guasque Ortega commented,

    Many thanks for your response, Jaromil. Could I query the values of the attributes before the optimization is complete? I have tried to see (only for checking how it works) the name of the variable...

  • Ana Guasque Ortega created a post,

    Variable as an index of a dictionary

    Answered

    Hello! I know I can't use a variable to index another variable or parameter in the model. So I have to use auxiliary binary variables to solve the problem, as suggested. But I am not able to do it....

  • Ana Guasque Ortega commented,

    Many thanks again. Best, Ana.

  • Ana Guasque Ortega commented,

    Many thanks for your answer, Jaromil.  To know valid bounds for each iteration variable is not a problem. I think I can estimate the maximum number of iterations too. Do you know where can I find d...

  • Ana Guasque Ortega created a post,

    Iterative equations with dependence of Gurobi variables

    Answered

    Hello! I have a problem in which I want to calculate the value of R. R is calculated with an iterative equation (see figure), that stops at convergence (Rn+1 = Rn). In the summatory, only the tasks...

  • Ana Guasque Ortega commented,

    Many thanks for your response!!! Finally it works!

  • Ana Guasque Ortega created a post,

    Max_ for multidimensional array

    Answered

    Hi, I have a multidimensional variable: var = m.addVars(N,time,vtype=GRB.INTEGER, name ="Var_")  and I would like to calculate the maximum value of this variable for each N. For example, max_var[0]...