glpkPtr-class function

Class "glpkPtr"

Class "glpkPtr"

Structure of the class "glpkPtr". Objects of that class are used to hold pointers to C structures used by GLPK. 1.1

class

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.

References

Based on the package glpk by Lopaka Lee.

The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html.

Author(s)

Gabriel Gelius-Dietrich geliudie@uni-duesseldorf.de

Maintainer: Mayo Roettger mayo.roettger@hhu.de

See Also

mplAllocWkspGLPK and initProbGLPK.

Examples

showClass("glpkPtr")
  • Maintainer: Mihail Anton
  • License: GPL-3 | file LICENSE
  • Last published: 2022-11-10

Useful links