R : Copyright 2005, The R Foundation for Statistical Computing Version 2.1.1 (2005-06-20), ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R. > ### *
> ### > attach(NULL, name = "CheckExEnv") > assign(".CheckExEnv", as.environment(2), pos = length(search())) # base > ## add some hooks to label plot pages for base and grid graphics > setHook("plot.new", ".newplot.hook") > setHook("persp", ".newplot.hook") > setHook("grid.newpage", ".gridplot.hook") > > assign("cleanEx", + function(env = .GlobalEnv) { + rm(list = ls(envir = env, all.names = TRUE), envir = env) + RNGkind("default", "default") + set.seed(1) + options(warn = 1) + delayedAssign("T", stop("T used instead of TRUE"), + assign.env = .CheckExEnv) + delayedAssign("F", stop("F used instead of FALSE"), + assign.env = .CheckExEnv) + sch <- search() + newitems <- sch[! sch %in% .oldSearch] + for(item in rev(newitems)) + eval(substitute(detach(item), list(item=item))) + missitems <- .oldSearch[! .oldSearch %in% sch] + if(length(missitems)) + warning("items ", paste(missitems, collapse=", "), + " have been removed from the search path") + }, + env = .CheckExEnv) > assign("..nameEx", "__{must remake R-ex/*.R}__", env = .CheckExEnv) # for now > assign("ptime", proc.time(), env = .CheckExEnv) > grDevices::postscript("glpk-Examples.ps") > assign("par.postscript", graphics::par(no.readonly = TRUE), env = .CheckExEnv) > options(contrasts = c(unordered = "contr.treatment", ordered = "contr.poly")) > options(warn = 1) > library('glpk') > > assign(".oldSearch", search(), env = .CheckExEnv) > assign(".oldNS", loadedNamespaces(), env = .CheckExEnv) > cleanEx(); ..nameEx <- "lpx.constants" > > ### * lpx.constants > > flush(stderr()); flush(stdout()) > > ### Name: lpx_constants > ### Title: Constant or return codes for the GLPK lpx class. > ### Aliases: lpx_constants LPX_LP LPX_MIP LPX_MIN LPX_MAX LPX_B_UNDEF > ### LPX_B_VALID LPX_P_UNDEF LPX_P_FEAS LPX_P_INFEAS LPX_P_NOFEAS > ### LPX_D_UNDEF LPX_D_FEAS LPX_D_INFEAS LPX_D_NOFEAS LPX_T_UNDEF > ### LPX_T_OPT LPX_I_UNDEF LPX_I_OPT LPX_I_FEAS LPX_I_NOFEAS LPX_FR LPX_LO > ### LPX_UP LPX_DB LPX_FX LPX_BS LPX_NL LPX_NU LPX_NF LPX_NS LPX_CV LPX_IV > ### LPX_FR LPX_LO LPX_UP LPX_DB LPX_FX LPX_BS LPX_NL LPX_NU LPX_NF LPX_NS > ### LPX_OPT LPX_FEAS LPX_INFEAS LPX_NOFEAS LPX_UNBND LPX_UNDEF LPX_E_OK > ### LPX_E_EMPTY LPX_E_BADB LPX_E_INFEAS LPX_E_FAULT LPX_E_OBJLL > ### LPX_E_OBJUL LPX_E_ITLIM LPX_E_TMLIM LPX_E_NOFEAS LPX_E_INSTAB > ### LPX_E_SING LPX_E_NOCONV LPX_E_NOPFS LPX_E_NODFS LPX_K_MSGLEV > ### LPX_K_SCALE LPX_K_DUAL LPX_K_PRICE LPX_K_RELAX LPX_K_TOLBND > ### LPX_K_TOLDJ LPX_K_TOLPIV LPX_K_ROUND LPX_K_OBJLL LPX_K_OBJUL > ### LPX_K_ITLIM LPX_K_ITCNT LPX_K_TMLIM LPX_K_OUTFRQ LPX_K_OUTDLY > ### LPX_K_BRANCH LPX_K_BTRACK LPX_K_TOLINT LPX_K_TOLOBJ LPX_K_MPSINFO > ### LPX_K_MPSOBJ LPX_K_MPSORIG LPX_K_MPSWIDE LPX_K_MPSFREE LPX_K_MPSSKIP > ### LPX_K_LPTORIG LPX_K_PRESOL > ### Keywords: optimize > > ### ** Examples > > lp = lpx_create_prob() > glpk_strerror(lpx_get_status(lp)) [1] "undefined" > > > > ### *