| NEWS | R Documentation |
a minor change in file ‘Makevars.win’ so that the Windows version will be compiled using –enable-chkargs
added functions setColsNamesGLPK(), setRowsNamesGLPK()
prints the version number of GLPK on startup
removed argument check from function loadMatrixGLPK
if compiled with –enable-chkargs [which is the default]), arguments to GLPK API functions containing GLPK constants or row and column indices are checked more carefully
very basic support for the GLPK callback routine
inconsistent inputs to loadMatrixGLPK will not longer stop
the running R session
new argument check to function loadMatrixGLPK:
if set to TRUE (and glpkAPI compiled with
–enable-chkargs [which is the default]), other arguments to
loadMatrixGLPK will be reviewed in terms of vector length and
valid row and column indices, before changing the problem object
functions setMatRowGLPK and getMatRowGLPK can use
vectors returned by getMatRowGLPK and getMatColGLPK
respectively
bugfix in ‘configure.ac’ when compiling with R32
renamed glpkPtr method isNULLpointer to
isNULLpointerGLPK
renamed glpkPtr method pType to glpkPtrType
renamed glpkPtr method ptr to glpkPointer
renamed glpkPtr slot pType to glpkPtrType
renamed glpkPtr slot ptr to glpkPointer
updated ‘configure.ac’ script
file ‘NEWS’ is now in ‘inst/NEWS.Rd’
fixed a bug in getCbindGLPK
class glpkPtr does not extend externalptr (not allowed
in R version <= 2.14)
method show for objects of class glpkPtr
fixed a bug in ‘init.c’: number of arguments to
mplAllocWksp was wrong
added methods isGLPKpointer, isNULLpointer and
isTRWKSpointer for objects of class glpkPtr
make use of glp_error_hook in ‘glpkAPI.c’ in order to
prevent GLPK exiting abnormal and so terminating the running R session
check arguments for row and column indices (i and j) if
they fit to the given problem object (again: prevent GLPK from
terminating the running R session)
exported API-functions are registered
class glpkPtr extends externalptr
file ‘c2r.map’ in ‘inst/’: mapping of filenames between C API and glpkAPI, run
c2r <- system.file(package = "glpkAPI", "c2r.map")
source(c2r)
in order to use original function names of the GLPK C API.
fixed a bug in copyProbGLPK()
added finalizers for GLPK problem objects and MathProg translator workspace objects
Functions initProbGLPK() and mplAllocWkspGLPK() return
instances of class glpkPtr. This class has two data slots:
| pType | a character string giving the pointer type and |
| ptr | a pointer to a C structure |
added MathProg support:
mplAllocWkspGLPK(),
mplBuildProbGLPK(),
mplFreeWkspGLPK(),
mplGenerateGLPK(),
mplPostsolveGLPK(),
mplReadDataGLPK() and
mplReadModelGLPK()
some minor changes in ‘configure.ac’
empty ‘configure.win’ file and some finetuning in ‘Makevars.win’
some minor changes in ‘configure.ac’
added ‘NAMESPACE’
removed file ‘COPYING’
updated ‘configure.ac’ script
updated package vignette
added files ‘INSTALL’ and ‘README’
renamed from sybilGLPK to glpkAPI
fixed a bug in getColsKind()
updated documentation
renamed functions getFluxDistGLPK() and
getFluxDistIptGLPK() to getColsPrimGLPK() and
getColsPrimIptGLPK() respectively
added functions getColKindGLPK(),
getColsDualGLPK(),
getColsDualIptGLPK(),
getColsKindGLPK(),
getColsStatGLPK(),
getMIPParmGLPK(),
getNumBinGLPK(),
getNumIntGLPK(),
getRowsDualGLPK(),
getRowsDualIptGLPK(),
getRowsPrimGLPK(),
getRowsPrimIptGLPK(),
getRowsStatGLPK(),
mipColValGLPK(),
mipColsValGLPK(),
mipObjValGLPK(),
mipRowValGLPK(),
mipRowsValGLPK(),
mipStatusGLPK(),
printIptGLPK(),
printMIPGLPK(),
printSolGLPK(),
readIptGLPK(),
readMIPGLPK(),
readSolGLPK(),
setColKindGLPK(),
setColsKindGLPK(),
setDefaultMIPParmGLPK(),
setMIPParmGLPK(),
solveMIPGLPK(),
writeIptGLPK(),
writeMIPGLPK() and
writeSolGLPK()
fixed a bug in findColGLPK()
added functions checkDupGLPK(),
sortMatrixGLPK(),
delRowsGLPK(),
delColsGLPK(),
setBfcpGLPK(),
getBfcpGLPK(),
readProbGLPK(),
writeProbGLPK(),
getBheadGLPK(),
getRbindGLPK() and
getCbindGLPK()
added functions ‘setMatRowGLPK()’ and ‘setMatColGLPK()’
initial public release