[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: No Memory Available Error]
From: |
Robbie Morrison |
Subject: |
Re: [Help-glpk] [Fwd: No Memory Available Error] |
Date: |
Thu, 16 Aug 2012 04:49:23 +1200 |
User-agent: |
SquirrelMail/1.4.22 |
Hi Aly
Are you signed on to this list? If not:
http://lists.gnu.org/mailman/listinfo/help-glpk
------------------------------------------------------------
To: glpk xypron <address@hidden>
Subject: No Memory Available Error
From: Aly Megahed <address@hidden>
Date: Wed, 15 Aug 2012 09:58:24 -0400 (EDT)
------------------------------------------------------------
> I am using glpk 32 bit on a 64 bit windows 7 machine,
> and I use a 32 bit Excel.
Why not upgrade to 64-bit Excel? (Your email address
suggests Georgia Tech?)
> 2. Is there any way I can call CPLEX or Gurobi as the
> solver for the models I generate on GLPK?
You can use GLPSOL to generate the problem in CPLEX LP
format and then feed that to another solver:
http://en.wikibooks.org/wiki/GLPK/Interoperability
http://en.wikibooks.org/wiki/GLPK/Interoperability#GLPSOL_usage
http://en.wikibooks.org/wiki/GLPK/Interoperability#CPLEX.C2.A0LP_format
The call is:
$ glpsol --check --wlp model.lp --math model.mod
GLPK can also tackle the same file:
$ glpsol --lp model.lp
If you encounter problems, you could also try bridging
with the MPS free format. Described in the above links.
You might also find something useful here, particularly
if you are coding in C, Java, or similar:
http://en.wikibooks.org/wiki/GLPK/Mixing_GLPK_with_other_solver_packages
HTH, Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred) : address@hidden
[from Webmail client]