Dear Ray Zimmerman
I obtain the next error when I run a opf of a large grid, for instance:
case300.
>> runopf('case300')
max Directional
First-order
Iter F-count f(x) constraint Step-size derivative
optimality Procedure
0 1 704383 10.12
Infeasible start point
Error in ==> optim\private\qpsub at 760
gradsd = norm(SD);
Error in ==> optim\private\qpsub at 274
[XS,lambdaS,exitflagS,outputS,howS,ACTIND2] = ...
Error in ==> optim\private\nlconst at 684
[SD,lambda,exitflagqp,outputqp,howqp,ACTIND] ...
Error in ==> fmincon at 498
[X,FVAL,lambda,EXITFLAG,OUTPUT,GRAD,HESSIAN]=...
Error in ==> fmincopf at 654
[x, f, info, Output, Lambda, Jac] = ...
Error in ==> opf at 352
[bus, gen, branch, f, success, info, et] = fmincopf(baseMVA, ...
Error in ==> runopf at 48
[bus, gen, branch, f, success, info, et] = opf(baseMVA, bus, gen,
branch, ...
I use windows and I have installed the released optional packages for
Matpoer (MINOPF, BPMPD_MEX and TSPOPF). The case300 power flow
[runpf('case300')] work very well.
I will appreciate very much a reccomendation o sugestion for overcoming
this problem.
Thankyou very much
Profr. R. Castellanos
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Ray
Zimmerman
Enviado el: Jueves, 27 de Septiembre de 2007 12:03 p.m.
Para: MATPOWER List
Asunto: Invalid MEX file errors on Windows
If you are attempting to use a Windows version of one of the recently
released optional packages for MATPOWER (MINOPF, BPMPD_MEX or TSPOPF) on
a recent Matlab version, you may have encountered an error like:
Invalid MEX-file 'C:\minopf3.2_w32\minopf.mexw32': This application
has
failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem.
The solution is to install the latest Microsoft Visual C++ 2005
Redistributable, available from Microsoft:
<http://www.microsoft.com/downloads/details.aspx?
displaylang=en&FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647>
I have included this in a new FAQ section on each of the corresponding
web pages.
http://www.pserc.cornell.edu/bpmpd/#faq
http://www.pserc.cornell.edu/minopf/#faq
http://www.pserc.cornell.edu/tspopf/#faq
--
Ray Zimmerman
Senior Research Associate
428-B Phillips Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645