Laaziz Lahlou

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

Activity overview

Latest activity by Laaziz Lahlou
  • Laaziz Lahlou commented,

    Hi Riley Clement, Thanks for sheding light ! Got it now. - Laaziz

  • Laaziz Lahlou commented,

    Hi Michel Soares, I apologize for not putting the right instance files. I updated the link with the files containing the models. This is the confguration with Gurobi 11.0.0 Gurobi Optimizer versio...

  • Laaziz Lahlou commented,

    Hi Michel, Here is the link to the two .lp models which are distinctive by their names. I got from Gurobi the cost function value of the returned solution by the relaxed model which is later not fe...

  • Laaziz Lahlou commented,

    Hi Riley, In which format do you want to the model ? Do you need access to the python code as well ? Laaziz

  • Laaziz Lahlou commented,

    Hi Riley, Got it ! I fixed the issue finally as it was a mistake in the indices of one of the constraints of the model. However, I am not sure why Gurobi is saying that a solution for the relaxed m...

  • Laaziz Lahlou commented,

    Hi Michel, Sure! The following file relax-RAPEC is recorded before calling the optimize() method. The next one is after calling the computeIIS() which means that the model was found being infeasibl...

  • Laaziz Lahlou created a post,

    Model becomes infeasible after relaxation

    Answered

    Hi all, I have an optimization problem for which I am able to get the optimal solution in which I have binary variables. When I relax the variable to take values between 0 and 1, the model becomes ...

  • Laaziz Lahlou commented,

    Hi Simran, Actually, I am getting a negative cost function value. In fact, the decision variables are binary so I am not sure why it does not work as I expected. What do you mean by the default low...

  • Laaziz Lahlou commented,

    Hi Simran, Thank you for your proposition. I tried it but I am facing a KeyError: 'Missing constraint index' issue.Please check out this implementation and let me know what I need to fix.Actually, ...

  • Laaziz Lahlou created a post,

    issue with Model.addGenConstrMax()

    Answered

    I have a mathematical model \(P\) for which I optimize two cost functions say \(F_1\) and \(F_2\) subject to a set of constraints.  In \(F_2\), I want it to be included only when its expression vio...