Originally posted by: Frops
Dear all,
When I use Cplex with Matlab interfaces I get an error with just the constructor function Cplex() to build a cplex model, or to solve a simple problem with function cplexlp(f, Aineq, bineq).
Also, I have installed Official Microsoft Visual C++ 2008 Redistributable Package (both x64 and x86 versions).
"Invalid MEX-file 'C:\ProgramFiles\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\cplexlink123.mexw64': Error al iniciar la aplicación; la configuración en paralelo no es correcta. Consulte el registro de eventos de la aplicación para obtener más detalles."
The translation should be similar to: "Failed to start the application, the parallel configuration is incorrect. See event log for application details." I attach the details of the event viewer, sxstrace.exe and trace files.
I have tried to limit the use of CPUs to one. The machine has two cores with four processors each.
I have detected a difference in versions (in bold in the attached text), however, I do not know if that may be the problem.
If that is the case, how can I install the newer version?
Any suggestions to solve this issue?
Thank you in advanced,
Taking a look to the event viewer: EVENT VIEWER:
=================================================
Error al generar el contexto de activación para "C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\cplexlink123.mexw64".
No se encontró el ensamblado dependiente Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="
8.0.50727.6195".
Use sxstrace.exe para obtener un diagnóstico detallado.
The result fo SXSTRACE.EXE INFO:
====================================
Iniciar generación de contexto de activación.
Parámetro de entrada:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = es-ES;es
ManifestPath = C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\cplexlink123.mexw64
AssemblyDirectory = C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\
Application Config File =
INFORMACIÓN: analizando archivo de manifiesto C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\cplexlink123.mexw64.
INFORMACIÓN: la identidad de definición del manifiesto es (null).
INFORMACIÓN: referencia: Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
INFORMACIÓN: resolviendo referencia Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
INFORMACIÓN: resolviendo referencia de ProcessorArchitecture amd64.
INFORMACIÓN: resolviendo referencia cultural Neutral.
INFORMACIÓN: aplicando directiva de enlace.
INFORMACIÓN: buscar directiva de edición en C:\Windows\WinSxS\manifests\amd64_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_09c0f789facc94a0.manifest
INFORMACIÓN: no se encuentra el redirección de la directiva de enlace.
INFORMACIÓN: iniciar sondeo de ensamblado.
INFORMACIÓN: no se encontró el ensamblado en WinSxS.
INFORMACIÓN: intento de sondear manifiesto en C:\Windows\assembly\GAC_64\Microsoft.VC80.CRT\8.0.50727.6195__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
INFORMACIÓN: intento de sondear manifiesto en C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\Microsoft.VC80.CRT.DLL.
INFORMACIÓN: intento de sondear manifiesto en C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\Microsoft.VC80.CRT.MANIFEST.
INFORMACIÓN: intento de sondear manifiesto en C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL.
INFORMACIÓN: intento de sondear manifiesto en C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST.
INFORMACIÓN: no se encontró el manifiesto de la referencia cultural Neutral.
INFORMACIÓN: finalizar sondeo de ensamblado.
ERROR: no se puede resolver la referencia Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195".
ERROR: error de generación de contexto de activación.
Finalizar generación de contexto de activación.
And finally CONTENTS OF C:\Windows\WinSxS\manifests\amd64_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_09c0f789facc94a0.manifest:
===========================================================================================================================================
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright © 1981-2001 Microsoft Corporation -->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32-policy" name="policy.8.0.Microsoft.VC80.CRT" version="8.0.50727.4053" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"/>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b"/>
<bindingRedirect oldVersion="8.0.41204.256-8.0.50608.0" newVersion="
8.0.50727.4053"/>
<bindingRedirect oldVersion="8.0.50727.42-8.0.50727.4053" newVersion="8.0.50727.4053"/>
</dependentAssembly>
</dependency>
</assembly>
#CPLEXOptimizers#DecisionOptimization