glpkPtr-class: Class '"glpkPtr"'

glpkPtr-classR 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"): returns TRUE if glpkPointer(object) is a pointer to a GLPK problem object, otherwise FALSE.

isNULLpointerGLPK

signature(object = "glpkPtr"): returns TRUE if glpkPointer(object) is a NULL pointer, otherwise FALSE.

isTRWKSpointer

signature(object = "glpkPtr"): returns TRUE if glpkPointer(object) is a pointer to a MathProg translator workspace, otherwise FALSE.

glpkPointer

signature(object = "glpkPtr"): gets the glpkPointer slot.

glpkPtrType

signature(object = "glpkPtr"): gets the glpkPtrType slot.

glpkPtrType<-

signature(object = "glpkPtr"): sets the glpkPtrType slot.

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")

glpkAPI documentation built on Nov. 10, 2022, 5:51 p.m.