Ana Guasque Ortega

Gurobi-versary
Investigator
Conversationalist
  • Total activity 40
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 5
  • Subscriptions 10

Activity overview

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

    Thank you both very much!! I'm trying to implement it.  Best, Ana.

  • Ana Guasque Ortega created a post,

    Not equal binary variables in a constraint

    Answered

    Good morning, I want to model an allocation problem in which items are allocated to bins. Items have a characteristic (for example, color) so I need a constraint that ensure that If two items have ...

  • Ana Guasque Ortega created a post,

    Callback function not working

    Answered

    Hello, I'm trying to use a callback function to apply an heuristic for each solution. I am not able to do it. I write here a simplified version of the code. In my case, there may be hundreds of sol...

  • Ana Guasque Ortega commented,

    If I write an objective function, the behaviour is still the same. I write a simplified version of the code. In my case, there may be hundreds of solutions with the same objective function so I wan...

  • Ana Guasque Ortega commented,

    Thanks, Jonasz! I have a doubt. The value of solution on the above code ( or print(model.cbGetSolution(model._vars))) is always an empty list. Could it be because I have no objective function to op...

  • Ana Guasque Ortega commented,

    Many thanks, Jonasz, that is what I thought and the reason to ask here. Yes, please, send me a code example for the first option, only to know if I can improve something or, as you said, maybe with...

  • Ana Guasque Ortega created a post,

    Check heuristics for each solution

    Ongoing

    Good morning,  I have modelled a problem and it works perfectly. I don't have an objective function. I get 100 solutions with this configuration: m.setParam('PoolSearchMode',1) m.setParam('PoolSolu...

  • Ana Guasque Ortega commented,

    Thanks again for your great response :)

  • Ana Guasque Ortega commented,

    Many thanks, David! I didn't know this possibility. An another question related to indicator constraints (if I should write the question at any other thread, please tell me) I read that it is not p...

  • Ana Guasque Ortega created a post,

    Create variables in a loop

    Answered

    Good morning,  I want to create a variable whose size depends on different parameters. I tried something like (I is a list like [0,1,2,3], H is an integer and T is a list like [5,10,15, 50]: for i ...