checkDupGLPK {glpkAPI} | R Documentation |
Check for Duplicate Elements in Sparse Matrix
Description
Low level interface function to the GLPK function glp_check_dup
.
Consult the GLPK documentation for more detailed information.
Usage
checkDupGLPK(m, n, ne, ia, ja)
Arguments
m |
Number of rows in the matrix. |
n |
Number of columns in the matrix. |
ne |
Number of non-zero elements in the matrix. |
ia |
Row indices of the non-zero elements. |
ja |
Column indices of the non-zero elements. |
Details
Interface to the C function checkDup
which calls the GLPK
function glp_check_dup
.
Value
Returns one of the following values:
0 |
No duplikate elements. |
-k |
Indices |
+k |
Element |
Author(s)
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
References
Based on the package glpk by Lopaka Lee
The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html
[Package glpkAPI version 1.3.4 Index]