Contact me off-list with the details of your platform and I'll see
what I can do to help you out.
Ray
On Jun 10, 2009, at 10:24 AM, Thomas Trötscher wrote:
Dear Carlos E. Murillo-Sánchez (or anyone who can help)
I use the matlab mex interface of bpmpd and am very satisfied with
its speed and accuracy. However, I am in need of recompiling the mex
interface with a different 'L' parameter as instructed on the
bpmpd_mex homepage:
<<The dynamic [memory] allocation is very conservative, and
hopefully you will never find a problem where the needed memory was
underestimated. If you do, then you have to recompile the MEX
interface after setting the variable L in bpg.f to something larger,
perhaps 20 or 30. On the other hand, if memory is a problem in your
system you may want to decrease it to, say L=10 and see what
happens. (Note: repeated calling of subroutine bp() with increasing
values of L whenever bp() returns a not-enough-memory error should
have been introduced by now; I have put it on hold because the
default value of L has always worked for me). The default value of L
used for the pre-compiled versions is 15.>>
The compilation instructions tell me to copy the interface files
(bp.f, bpg.f, and makefile) into the BPMPD source directory and run
a 'make' command, but I don't have the necessary BPMPD source files.
I have contacted Csaba Mészáros, but he has informed me that the
source code is not publicly available. So how do I recompile the
interface?
The problem I am about to solve gives a "not-enough-memory" error
from bpmpd_mex which I don't believe to be true. Other solvers
(clp,linprog) are able to solve the same problem without memory
trouble. Still I would like to use bpmpd because it usually is
superior when it comes to computation speed (in my experience).
Regards,
Thomas Trötscher
SINTEF Energy Research
http://www.energy.sintef.no