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 >
