Skip to main content

Please help me: gurobipy._exception.GurobiError: Out of memory

Answered

Comments

1 comment

  • Riley Clement
    • Gurobi Staff

    Hi Cornelius,

    Setting Method=1 as you are doing, to use dual simplex, will help.  You will find other ideas in this article:
    How do I avoid an out-of-memory condition? In particular I would try with Threads=1.  If you have closed other programs that may be consuming memory, and are still getting an error then you will need to use another machine.

    On a side note, while you are using dual simplex, parameters related to barrier such as crossover, BarConvTol and GURO_PAR_BARDENSETHRESH will be redundant.

    - Riley

     

    0

Please sign in to leave a comment.