ibtissam labriji

Gurobi-versary
Curious
Conversationalist
  • Total activity 25
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 3
  • Subscriptions 8

Activity overview

Latest activity by ibtissam labriji
  • ibtissam labriji created a post,

    If constraints

    Hello,  I am working on a MILP where i want to add the following constraint:  I have two variables o[i] that is binary and f[i] that is continuous. I added the following constraint : m.addGenConstr...

  • ibtissam labriji commented,

    Hello Richard,  Thank you for your response. Yes it does the trick. Although, I think that : the range should go to 5. So that y_4 can be taken into consideration :  m.addConstrs(i*y_i <= M for i i...

  • ibtissam labriji created a post,

    a Variable which is the upper bound of a sum

    Answered

    Hello,  I would like to know if it is possible to model the following expression in gurobi and if gurobi is able to solve it:  M is an integer variable that takes value 1, 2, 3 or  4. This variable...

  • ibtissam labriji created a post,

    How to model the indicator function in Gurobi

    Answered

    Hello,  I would like to model the following constraint : f_r are problem variables declared as follows : for i in range(R):      f[i] = m.addVar( lb=0.0, vtype=GRB.CONTINUOUS, name="CPU frequency"...

  • ibtissam labriji commented,

    Hello Eli,  Thank you for your response ! Indeed it worked. I do have one quick question, though : Is there any difference between gp.quicksum() and quicksum() ? Because I remember using quicksum(y...

  • ibtissam labriji commented,

    Hello Elli,  I have a question regarding the minimization of a multivariate function :  Actually, I used the same code as you suggested but with the objective to minimize sum( x[i] log(x[i])) inste...

  • ibtissam labriji commented,

    Hello Yuriy,  Thank you for your response. Indeed, the solution was to rescale the units of the variables I have. Now I don't get the warning message anymore.  Also, as far as I understand , some c...

  • ibtissam labriji created a post,

    Reliable Results ?

    Answered

    Hello, When I run my optimization problem I get results but I wonder to what extent the results I get are reliable, especially that I receive this warning: Warning: Model contains large rhsConsider...

  • ibtissam labriji created a post,

    Optimization

    Answered

    Hello, I have a question about an optimization problem and I don't know if it is the right place to ask.  The problem is to optimize more specifically minimize a quantity that is a combination of b...

  • ibtissam labriji commented,

    Hello Silke,  Indeed it is working !  Thank you.  Best Regards,  Ibtissam