Skip to main content

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

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Maliheh Aramon
    • 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

Post is closed for comments.