Christian Perau

Gurobi-versary
Curious
Conversationalist
  • Total activity 35
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 10

Activity overview

Latest activity by Christian Perau
  • Christian Perau created a post,

    Convert presolved model to original model

    Answered

    I am working with rather big models. After the presolve (during the ordering) I notice the highest peak in memory usage. Due to this peak I often have to reduce the Threads parameter and therefore ...

  • Christian Perau created a post,

    Objective value does not equal X * obj

    Answered

    Recently I encountered that (in some of my models) the variable values seem to be incorrectly stored into my data. When I try the following int i, error;double total_obj_by_hand=0, total_obj_by_gur...

  • Christian Perau commented,

    Hi Marika,   thanks for the hint to FeasibilityTol. That´s seems to do the trick. Still I will try to reduce the coefficient range. Thank you very much!   Best regards, Christian

  • Christian Perau created a post,

    Model infeasible after using GRBfixmodel

    Answered

    After using the GRBfixmodel function my MILP is reported to be infeasible since the upper bound of some variables that are zero in the optimal solution is set to a (small) negative value instead of...

  • Christian Perau commented,

    After a while I found the source. I call the C-code from within python (via ctypes dll). In the corresponding anaconda environment I had gurobipy 11.0.1 installed. After installing gurobipy 11.0.3 ...

  • Christian Perau commented,

    Hi Riley, I don´t set the Username in the code. However, the license file seems ok and it does work the first 253 iterations. I removed all gurobi versions from my machine and installed 11.0.3 agai...

  • Christian Perau commented,

    Hi Riley, yes I am using first GRBfreemodel and right after GRBfreeenv to free the memory. But I also monitored it in during runtime and the total memory usage of the machine was at its peak less t...

  • Christian Perau created a post,

    Out of memory though memory is not exceeded

    Awaiting user input

    I am trying to solve a MILP using Bender's decomposition. Since there are many binary decision variables in the master, I need a lot of iterations. In the first iterations everything works just fin...

  • Christian Perau created a post,

    Modelling squared euclidean distance in objective function (C-API)

    Answered

    I want to implement the following objective function in the C-API: min (x²-1) + (y²-1) As far as I see it in the documentation I would need to reformulate the objective function to min x²-2x+1 + y²...

  • Christian Perau commented,

    Hi Marika, thanks for the quick response! I know this problem actually existed before version 10 of gurobi. I also created a post regarding that a while ago (https://support.gurobi.com/hc/en-us/com...