help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Problems in using GLPK on MATLAB


From: #LI WEN#
Subject: [Help-glpk] Problems in using GLPK on MATLAB
Date: Sun, 6 Feb 2011 05:34:33 +0000

Hi, all,

I am trying to compile a GLPK-MATLAB interface file "glpkmex.c". However, I got 
some errors as follows:

----------------------------
glpkmex.c 
glpkmex.c(457) : warning C4090: 'function' : different 'const' qualifiers 
glpkmex.c(141) : warning C4101: 'mxtmp' : unreferenced local variable 
glpkmex.c(139) : warning C4101: 'mxlambda' : unreferenced local variable 
glpkmex.c(581) : warning C4013: 'insist' undefined; assuming extern returning 
int 
glpkmex.c(623) : warning C4013: 'lib_env_ptr' undefined; assuming extern 
returning int 
glpkmex.c(623) : error C2223: left of '->mem_tpeak' must point to struct/union 
 
  C:\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'glpkmex.c' failed. 
 
??? Error using ==> mex at 222
Unable to complete successfully.
------------------------------

I searched on Google, and found that the problem may due to some API functions 
are not supported any more. But I hope to use this interface, as another 
program is based on it. The version of GLPK I used is 4.34.

Anybody knows how to solve above problems? Thank you very much.


Best regards,
LI Wen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]