| glpkPtr-class {glpkAPI} | R Documentation |
Class "glpkPtr"
Description
Structure of the class "glpkPtr". Objects of that class are
used to hold pointers to C structures used by GLPK.
Objects from the Class
Objects can be created by calls of the form
test <- initProbGLPK() or
test <- mplAllocWkspGLPK().
Slots
glpkPtrType:-
Object of class
"character"giving the pointer type. glpkPointer:-
Object of class
"externalptr"containig the pointer to a C structure.
Methods
- isGLPKpointer
signature(object = "glpkPtr"): returnsTRUEifglpkPointer(object)is a pointer to a GLPK problem object, otherwiseFALSE.- isNULLpointerGLPK
signature(object = "glpkPtr"): returnsTRUEifglpkPointer(object)is a NULL pointer, otherwiseFALSE.- isTRWKSpointer
signature(object = "glpkPtr"): returnsTRUEifglpkPointer(object)is a pointer to a MathProg translator workspace, otherwiseFALSE.- glpkPointer
signature(object = "glpkPtr"): gets theglpkPointerslot.- glpkPtrType
signature(object = "glpkPtr"): gets theglpkPtrTypeslot.- glpkPtrType<-
signature(object = "glpkPtr"): sets theglpkPtrTypeslot.
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.
See Also
mplAllocWkspGLPK and initProbGLPK.
Examples
showClass("glpkPtr")