citHeader("When using Rsolnp in publications, please cite both, the Rsolnp package, and the original algorithm:") ## R >= 2.8.0 passes package metadata to citation(). if(!exists("meta") || is.null(meta)) meta <- packageDescription("Rsolnp") year <- sub("-.*", "", meta$Date) note <- sprintf("R package version %s.", meta$Version) citEntry(entry="Manual", title = "Rsolnp: General Non-linear Optimization Using Augmented Lagrange Multiplier Method", author = personList(as.person("Alexios Ghalanos and Stefan Theussl")), year = year, note = note, textVersion = paste("Alexios Ghalanos and Stefan Theussl", sprintf("(%s).", year), "Rsolnp: General Non-linear Optimization Using Augmented Lagrange Multiplier Method.", note), header = "To cite the Rsolnp package, please use:" ) citEntry(entry="PhdThesis", title = "Interior Algorithms for Linear, Quadratic, and Linearly Constrained Non-Linear Programming", author = personList(as.person("Yinyu Ye")), year = "1987", school = "Department of {ESS}, Stanford University", textVersion = paste("Yinyu Ye (1987).", "Interior Algorithms for Linear, Quadratic, and Linearly Constrained Non-Linear Programming. Ph.D. Thesis, Department of EES, Stanford University."), header = "To cite the original SOLNP algorithm, please use:" )