Low level interface function to the GLPK function glp_check_dup
.
Consult the GLPK documentation for more detailed information.
checkDupGLPK(m, n, ne, ia, ja)
Returns one of the following values:
0
No duplikate elements.
-k
Indices ia[k]
or ja[k]
are out of range.
+k
Element (ia[k], ja[k])
is duplicate.
Number of rows in the matrix.
Number of columns in the matrix.
Number of non-zero elements in the matrix.
Row indices of the non-zero elements.
Column indices of the non-zero elements.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Interface to the C function checkDup
which calls the GLPK
function glp_check_dup
.
Based on the package glpk by Lopaka Lee
The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html