• 451 views | 5 messages Discussion: LEAP
    Topic: Help with no memory errorSubscribe | Previous | Next
  • Benjamin Rizzo 12/23/2019

    I am getting the following error when trying to run LEAP in the debug file. What does no memory error mean ?

    Model has been successfully generated
    glp_mpl_build_prob: row cost; constant term 646.803676576 ignored
    glp_alloc: no memory available
    Error detected in file ..\src\env\alloc.c at line 91

  • Charlie Heaps 12/23/2019
      Best Response

    1 Like

    That looks like GLPK is failing to solve due to running out of memory. GLPK cannot solve large problems. You may need to consider using CPLEX, which must be purchased separately from LEAP. For more help, please review the GLPK manuals: https://www.gnu.org/software/glpk/
  • Benjamin Rizzo 1/8/2020
      Best Response

    Is there a guide setting LEAP to use CPLEX?

    Also Is there a preferred CPLEX distributor?
    IBM: https://www.ibm.com/uk-en/products/ilog-cplex-optimization-studio
    GAMS Software GmbH: https://www.gams.com/fileadmin/standard_price_list.pdf
  • Charlie Heaps 1/8/2020
      Best Response

    As far as I know, IBM is the sole distributor of CPLEX.
    Note that GAMS is NOT needed for using LEAP with OSEMOSYS.

  • Benjamin Rizzo 1/9/2020
      Best Response

    Thank you kindly.
    When trying to run the optimisation example using cplex I get the following error
    Thanks for your help.


    1.PNG