help-glpk
[Top][All Lists]
Advanced

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

RE: [Help-glpk] Problems in using GLPK on MATLAB


From: #LI WEN#
Subject: RE: [Help-glpk] Problems in using GLPK on MATLAB
Date: Sun, 6 Feb 2011 10:01:13 +0000

OK. Thank you so much.

Best regards,
LI Wen

-----Original Message-----
From: Noli Sicad [mailto:address@hidden 
Sent: 2011年2月6日 17:52
To: #LI WEN#
Cc: address@hidden
Subject: Re: [Help-glpk] Problems in using GLPK on MATLAB

Hi Li,

Please read the archive about the problems in installing glpkmex.

http://www.mail-archive.com/search?q=glpkmex&l=help-glpk%40gnu.org

I hope you can find the solution in the previous postings.

I am not a glpkmex user.

Noli



On 2/6/11, #LI WEN# <address@hidden> wrote:
> Hi, Noli,
>
> Thanks very much for your helps.
>
> Actually I don't know what's the version of the glpkmex I'm using, as it is
> provided in the source code of the program I'm trying to compile now. The
> interface is different from the popular glpkmex (i.e. the one you gave). But
> now I am trying to use the glpkmex you provided.
>
> However, when I try to compile the glpkmex v2.8, it requires the file
> 'libglpk.a'. There's no such files in the GLPK directory. I installed GLPK
> v4.34 on my PC. And the operating system is Windows-7 32bit.
>
> Thanks,
> LI Wen
>
> -----Original Message-----
> From: Noli Sicad [mailto:address@hidden
> Sent: 2011年2月6日 14:52
> To: #LI WEN#
> Cc: address@hidden
> Subject: Re: [Help-glpk] Problems in using GLPK on MATLAB
>
> You don't let us, which version of the glpkmex you are compiling.
>
> Try using the precompiled binary i.e 2.8.
>
> http://sourceforge.net/projects/glpkmex/files/glpkmex/
>
> Noli
>
>
> On 2/6/11, #LI WEN# <address@hidden> wrote:
>> 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
>>
>> _______________________________________________
>> Help-glpk mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/help-glpk
>>
>

reply via email to

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