Hello Raymond,
you can use the followin methods:
GLPK.doubleArray_getitem()
GLPK.intArray_getitem()
cf.
http://www.xypron.de/projects/glpk-java/apidocs/org/gnu/glpk/GLPK.html#intArray_getitem%28org.gnu.glpk.SWIGTYPE_p_int,%20int%29
Best regards
Xypron
Original-Nachricht
> Dat
Your problem is discussed:
http://stackoverflow.com/questions/1528148/swig-pointers-and-java-arrays
Two suggestions:
use carrays.i
write a wrapper.
IAJAAR does the latter, see
http://en.wikibooks.org/wiki/GLPK/IAJAAR.H_project or download:
https://sourceforge.net/projects/iajaarh/files/IAJ