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
>> 
> 
> 
> 
> 
> -- 
> Athanasios Tolis, Ph.D NTUA
> Dipl. Mechanical Engineer NTUA
> Assistant  Professor
> 
> National Technical University of Athens 
> School of Mechanical Engineering
> Sector of Industrial Management and Operational Research
> 
> 15780 Zografou, Athens, Greece
> 
> Tel:     +3(0) - 210 772 2385
> Fax:    +3(0) - 210 772 3571
> Mob:   +3(0) - 6945868937
> e-mail: [email protected]
> __________________________________
> __________________________________

Reply via email to