Dear Gerardo,

Once I had such a problem, and even by installing the Microsoft Visual C++
the problem was not solved. So, I used another solver of Matpower.

Have you already tried with the installation of the latest Microsoft Visual
C++ 2005 Redistributable?.

You can check the following link:
http://www.pserc.cornell.edu/bpmpd/
Frequently Asked Questions

*Q: Why am I getting the following error when running on Windows?*
*Invalid MEX-file 'C:\bpmpdmex2.21.1_w32\bp.mexw32': This application has
failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem.*

*A: *You need to install the latest Microsoft Visual C++ 2005
Redistributable, available from:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647

Regards from Ecuador,

**
-- 
Paúl Vásquez Miranda
Dr. Ing.- Eléctrico
Telfs: +593 2 2249953
        +593 9 5395389
[email protected]



2009/7/7 Gerardo Blanco <[email protected]>

> Dear Sir,
>
> First of all, thanks you for sharing such as powerful tool.
>
> I have been trying to run both AC opf and DC opf in  Matlab 7.8.0 (R2009a).
> I have had the following problems:
>
> *DC OPF:*
>
> >> rundcopf
> ??? Invalid MEX-file 'C:\Dokumente und
> Einstellungen\Blanco\Desktop\bpmpdmex2.21.1_w32_R2006b+\bp.mexw32': Die
> angegebene Prozedur wurde nicht gefunden.
> *(The specified procedure could not be found)*
> .
>
> Error in ==> mp_qp at 132
>     [xout,y,s,w,howout] = bp5(H, A, b, f, e, llist, lval, ...
>
> Error in ==> dcopf at 251
> [x, lambda, how, success] = mp_qp(H, c, AA, bb, [], [], x, mpopt(15),
> qpverbose);
>
> Error in ==> opf at 271
>   [bus, gen, branch, f, success, info, et] = dcopf(baseMVA, bus, gen, ...
>
> Error in ==> runopf at 48
> [bus, gen, branch, f, success, info, et] = opf(baseMVA, bus, gen, branch,
> ...
>
> Error in ==> rundcopf at 44
> [baseMVA, bus, gen, gencost, branch, f, success, et] = ...
>
> I have installed the bpmpdmex2.21.1_w32_R2006b+ version and it is save in
> the Matlab path, and I have trying with the previous as well, however the
> problem persist.
>
> *AC OPF:*
>
> >> runopf
> ??? Error using ==> minopf
> Function "MXCREATEFULL" is obsolete.
> If your MEX file or Simulink S-function calls this function, replace it
> with "MXCREATEDOUBLEMATRIX".
> If this error originates from a Fortran Simulink S-function that does not
> call "MXCREATEFULL", recompile the
> S-function in the current release.
>
> Error in ==> mopf at 566
> [buso, geno, brancho, f, info, g, jac, xr, pimul] = minopf(baseMVA,
> bus,gen, ...
>
> Error in ==> opf at 338
>         [bus, gen, branch, f, success, info, et] = mopf(baseMVA, ...
>
> Error in ==> runopf at 48
> [bus, gen, branch, f, success, info, et] = opf(baseMVA, bus, gen, branch,
> ...
>
> However the optimization tool 
> TSPOPF<http://www.pserc.cornell.edu/tspopf/>seems work well.
> *
>
> *I'll be very grateful, if you could help me to solve this problem.
>
> Thanks in advance.
>
> Gerardo Blanco
> IEE- SJ Argentina - TU Dortmund, Germany
>

Reply via email to