Skip to main content

Gurobi LP model (C++ library) killed on the run or out-of-memory exception thrown

Answered

Comments

2 comments

  • Maliheh Aramon
    Gurobi Staff Gurobi Staff

    Hi Roberto,

    If you are getting the out-of-memory exception with error code 10001, it means that Gurobi runs out of memory. You can try some of the ideas suggested in the article How do I avoid an out-of-memory condition? 

    Best regards,

    Maliheh

    0
  • Roberto Bargetto
    Gurobi-versary
    First Comment
    First Question

    Hello Maliheh,

    Thank you for your response.

    All the options listed by G. Glockner have been tested or included in my code.
    My program goes out-of-memory solving such an LP model running the optimization or, if the model is very large, adding the variables to the model (call to method 'GRBModel::addVar(..)').

    Best regards,
    Roberto

    0

Please sign in to leave a comment.