Found it: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=26347
(I downloaded the second file [x64] in the list appeared in that page, just because this fitted for me: Windows 7 Home Premium x64, Matlab R2009b). In my office PC, with a different configuration, other drivers were needed. Everyone has to make some little research until he/she finds the propriate driver. You were right: The basis for the research is the "build environment" as listed in the TSPOPF page. Anyway, you should consider a reboot after installing that driver, I think it's more than useful.. ! Now it runs perfectly. Thanks again for your help and for sharing Matpower and the other tools. Kind Regards Athanasios Tolis ================================================ On Fri, Mar 15, 2013 at 7:36 PM, Athanasios Tolis <[email protected]>wrote: > Yes, of cource. I perfectly understand your point. In my office PC, I > managed to run it. In there, a totaly different bunch of VC++ drivers is > installed, and apparently, this is the source of the problem. I'll try to > debug this issue on a o1-1 basis in order to pick up the "guilty" driver. > At least, I'll give it a try, and, -of course- I'll let you know about it > (if I find it...). Thank you very much for your help and for your time. > Kind Regards > Athanasios Tolis > ================================ > > > On Fri, Mar 15, 2013 at 7:02 PM, Ray Zimmerman <[email protected]> wrote: > >> Unfortunately, I probably don't know any more than you do about this. >> When I initially encountered the problem, I googled the error message, >> found that the suggested solution appeared to be to install the compatible >> version of the Visual C++ runtime and that solved the problem for me at the >> time. >> >> So, I'm afraid I don't know how to answer your questions. In case it's >> useful for you in trying to track the issue down, the TSPOPF page does list >> the details of the build environment used to create the 64-bit MEX files. >> >> It was precisely these kinds of library compatibility nightmares that >> drove me to port PDIPM to Matlab (MIPS). In my experience, the MEX versions >> of PDIPM are only marginally faster than MIPS and, while it may have some >> nice theoretical properties, in practice I'm not sure I've ever seen a case >> where TRALM was an improvement over MIPS. So, for most purposes, not being >> able to run the TSPOPF solvers is not a big loss, in my opinion. >> >> If you are able to find a solution, on the other hand, please do let me >> know. >> >> -- >> Ray Zimmerman >> Senior Research Associate >> 419A Warren Hall, Cornell University, Ithaca, NY 14853 >> phone: (607) 255-9645 >> >> >> >> >> On Mar 14, 2013, at 3:05 PM, Athanasios Tolis <[email protected]> >> wrote: >> >> Yes, I installed the 64-bit version too, but without success. I still >> receive the same error MSG. The question is: Should the older versions >> (2005, 2010, 32 or 64 bit, etc.) be uninstalled from my computer (just in >> case they might cause any conflicts between eachother)? I'm not sure if >> they might be used by other applications too, but... could it be the source >> of the TSPOPF problem? >> Kind Regards >> >> Athanasios Tolis >> >> ======================================================================================================= >> >> On Thu, Mar 14, 2013 at 8:00 PM, Ray Zimmerman <[email protected]> wrote: >> >>> I'm not certain what the problem is, but I think it is likely still >>> related to the Visual C++ runtime issue. Did you installed the 64-bit >>> version (http://www.microsoft.com/en-us/download/details.aspx?id=14632)? >>> I think the link from the FAQ on the TSPOPF page is only for the 32-bit >>> version. >>> -- >>> Ray Zimmerman >>> Senior Research Associate >>> 419A Warren Hall, Cornell University, Ithaca, NY 14853 >>> phone: (607) 255-9645 >>> >>> >>> >>> >>> On Mar 14, 2013, at 11:59 AM, Athanasios Tolis <[email protected]> >>> wrote: >>> >>> Dear Prof. Zimmerman, >>> >>> >>> Thank you for sharing us this so powerful tool. I'd kindly request some >>> help concerning TSPOPF. (Normally I use MIPS solver but I thought I should >>> give it a try with the TSPOPF solver too). >>> >>> Unfortunately, after I installed it, I always receive the same error >>> message (e.g. for PDIPM solver): >>> >>> >>> >>> ??? Invalid MEX-file 'C:\Program >>> Files\MATLAB\R2009b\toolbox\matpower4.1\tspopf4.1_w64\pdipmopf.mexw64': The >>> application has failed to start because its side-by-side configuration is >>> incorrect. Please see the >>> application event log or use the command-line sxstrace.exe tool for more >>> detail. >>> >>> >>> I try to use it through the following commands (e.g. for case 118): >>> >>> >> define_constants; >>> >>> >> mpc = loadcase('case118'); >>> >>> >> opt = mpoption('OPF_ALG',540); >>> >>> >> runopf(mpc,opt); >>> >>> >>> The same message is received when attempting the TRALM solver: (In that >>> case instead of pdipmopf.mexw64, i receive the error message for >>> the tralmopf.mexw64 file). >>> >>> >>> My Matlab version is R2009b. My O.S. is Win7-64 bit. MATPOWER and TSOPF >>> version: 4.1, recently installed. >>> >>> I also tried and installed the newest Visual C++ 2005 Redistributable by >>> Microsoft (as suggested by the FAQs in MATPOWER site), without any success. >>> I always receive the same error MSG. >>> >>> >>> As I realise, the 64-bit version is supported indeed in that latest 4.1 >>> version of MATPOWER and TSPOPF, isn't it? >>> >>> >>> Anyway, I do appreciate any help on that. Thanking in advance. >>> >>> Kind Regards >>> >>> >>> Athanasios Tolis >>> >>> >>> >>> >> >> >>
