Hello.
I'm using fastFVA with ibm_cplex 12.10 with matlab r2016b under window 10. But when I run generateMexFastFVA()
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
> The solver compatibility is not tested with MATLAB R2016b.
Warning: As the ibm_cplex interface is not compatible, the generated MEX file might not be compatible.
> In generateMexFastFVA (line 34)
> The version of CPLEX is 1210.
Error using generateMexFastFVA (line 94)
The CPLEX library C:\Program Files\ibm\ILOG\CPLEX_Studio1210\cplex\lib\x64_windows_vs2013\stat_mda does not exist. Please install the
CPLEX solver as explained here.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
this error pop out, so I changed the green line of the code in generateMexFastFVA since my file is x64_windows_msvc14:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
% define a special compiler flag to switch for deprecated functions after CPLEX 12.8.0
if cplexVersionNum >= 128
versionFlag = '-DHIGHER_THAN_128'; % this flag is defined in the .c file
versionVS = 'vs2015';
else
versionFlag = '-DLOWER_THAN_128';
% versionVS = 'vs2013';
versionVS='msvc14';
end
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
then run the generateMexFastFVA(). but still an error.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> The solver compatibility is not tested with MATLAB R2016b.
Warning: As the ibm_cplex interface is not compatible, the generated MEX file might not be compatible.
> In generateMexFastFVA (line 34)
> The version of CPLEX is 1210.
MEX configured to use 'MinGW64 Compiler (C)' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the
new API. You can find more information about this at:
Building with 'MinGW64 Compiler (C)'.
Error using mex
gcc: error: \-fexceptions: No such file or directory
Error in generateMexFastFVA (line 149)
eval(['mex ' cmd]);
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
According to the compatibility table, I have also tried install the ibm_cplex 12.8, set it at the top of the environment path, and matlab has recognized it when initCobraToolbox. But when I changeCobraSolver('ibm_cplex','all'), it said that the ibm_cplex is installed but not working properly.
I also have read the document of fastFVA, and installed ibm_cplex 12.7.1, but it's also not working.
really grateful if someone can help me with that.