Thank you for the patched version.
I have tried compiling and I got the following error:
glpkcc.cpp: In function 'int glpk(int, int, int, double*, int, int*,
int*, double*, double*, char*, int*, double*, int*, double*, int*,
int, int, int, double*, double*, double*, double*, double*, double*,
double*)':
glpkcc.cpp:297: error: 'insist' no se declaró en este ámbito

   mex: compile of 'glpkcc.cpp' failed.
I'm not sure how this translates from Spanish.

I don't know if this will help, but the command I used to compile was
the following:
/opt/Matlab/bin/mex -I /usr/include/glpk.h  -I /usr/include/glplib.h
glpkcc.cpp /usr/lib/libglpk.a

Ed


On 3/29/07, Andrew Makhorin <[EMAIL PROTECTED]> wrote:
Please see a patched version of glpkcc.cpp attached.

The original version was downloaded from:
http://www.dii.unisi.it/~hybrid/tools/mex/downloads.html

The patched version must work with glpk 4.15 and further versions.

Glpk 4.15 distribution can be ftp'ed from <ftp://ftp.gnu.org/gnu/glpk/>
or from some mirror ftp sites; see <http://www.gnu.org/order/ftp.html>.

Note: I do not have matlab and therefore could not test the code.
So if you will find any errors, please report.

Andrew Makhorin



_______________________________________________
Bug-glpk mailing list
Bug-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to