similar to: The GNU Linear Programming Kit for R

Displaying 20 results from an estimated 1100 matches similar to: "The GNU Linear Programming Kit for R"

2005 Jun 19
1
1-based arrays and copying vectors
I'm interfacing to C code that uses 1-based indexing on arrays -- it ignores the zeroth element. Thus, input vectors from R must be moved up one, and output arrays must be moved down one. What is the best way to deal with this using R internal code? My current approach is: For an input R vector of length n, allocate a new vector(v) of length n+1 and copy input into v[1] to v[1+n]. Call
2012 Oct 02
1
glpk package missing?
I have a piece of code (from Xie et al. 2009 Autophagy 5:217) that runs in R and requires the glpk package. A year or so ago, I was able to download and install the glpk package directly from insider the R program (for Windows), and everything worked fine. Now I have installed R for Windows on a new computer, and I cannot find the glpk package on the list of available packages on my local
2005 Apr 20
2
Suggestions for manipulating formula objects
I'm trying to manipulate/change a formula prior to passing it to another function. A simplified example: User passes formula to my function: y~x My function does: lm(transform(y)~x) Here, transform() is added to the model's response. What is the best way to accomplish this?
2007 Nov 14
2
convex optimization package for R, specifically semidefinite programming
Recently, a package for convex optimization was announced for Python, based upon the LP solver GLPK, the SDP solver in DSDP5, and the LP and QP solvers in MOSEK. I'm aware GLPK is available for R, but wondered if anyone had good packages for convex optimization along these lines for R. TIA.
2007 Mar 05
2
Linear programming with sparse matrix input format?
Hi. I am aware of three different R packages for linear programming: glpk, linprog, lpSolve. From what I can tell, if there are N variables and M constraints, all these solvers require the full NxM constraint matrix. Some linear solvers I know of (not in R) have a sparse matrix input format. Are there any linear solvers in R that have a sparse matrix input format? (including the
2006 Feb 23
1
R and marine protected areas: algorithms for site selection
Dear listers, a central problem in conservation biology is the selection of sites in reserve network design. many algorithms have been published, and I was wondering any have been implemented in R. I did not seen anything on CRAN or R-help, or on the web in general. Best regards, Eric Eric Pante ---------------------------------------------------------------- College of Charleston, Grice
2011 Oct 10
1
Linear programming problem, RGPLK - "no feasible solution".
In my post at https://stat.ethz.ch/pipermail/r-help/2011-October/292019.html I included an undefined term "ej". The problem code should be as follows. It seems like a simple linear programming problem, but for some reason my code is not finding the solution. obj <- c(rep(0,3),1) col1 <-c(1,0,0,1,0,0,1,-2.330078923,0) col2 <-c(0,1,0,0,1,0,1,-2.057855981,0) col3
2011 Dec 18
1
Why do non-lvds monitors default to dithering these days?
In the past we assumed that external displays did their own dithering if needed. GPU based dithering is only needed for laptop displays if i had to guess. I was almost thinking my monitor was malfunctioning because of strange barely visible flickering. Now it *seems* as if dithering was the problem, although time will have to tell, because it's subtle to see these effects. Ofcource i can try
2009 Mar 27
1
asking advice for Integer Programming packages
Dear everyone, I don't know much about Integer Programming but am afraid I am facing a problem that can only be solved via Integer Programming. I was wondering if those of you who have experience with it could recommend an R package. I found the following R packages: Rglpk glpk lpSolve lpSolveAPI Are there any others? Are some of them easier to use than others for a beginner? Any advice
2011 Aug 04
1
[LLVMdev] Performance benchmarks available?
On 08/04/2011 11:35, FlyLanguage wrote: > Do your own benchmarking, on the stuff that matters to you. It's the > only fair benchmark you'll ever see. I agree, but this is somewhat extreme point of view. Some general comparisons could also be of interest. For example, performance comparison of some deterministic software like GLPK solver, or compiler itself would be interesting to
2007 Mar 21
1
Integer Optimization
Hello everybody, I am looking for a function (or package) which can solve a integer optimization problem. I have found the glpk package but I don't known very well how to use it. Someone has another solution ? thx
2005 Oct 19
1
ipop (kernlab) gives pars < lower bound ?
hi everyone, ipop very quickly and accurately identifies the correct parameters in a toy dataset i built, but when i use ipop on the real dataset i get values for the parameters " primal(res) " that are less than zero, even though i specify zero for the lower bound : l = rep(0, length(c)) , where length(c) is the number of parameters i'm trying to identify. the parameters are
2003 Oct 11
1
Subclassing lm
I'd trying to subclass the "lm" class to produce a "mylm" class whose instances behave like lm objects (are accepted by methods like summary.lm) but have additional data or slots of my own design. For starters: setClass("mylm", "lm") produces the somewhat cryptic: Warning message: Old-style (``S3'') class "mylm" supplied as a
2007 Dec 05
0
Mixed Integer Non Linear Programming.
Hi, I am attempting to solve a Mixed Integer Non Linear Program using R. I am aware of the GLPK package that solved mixed integer linear programs, and the Rdonlp2 package that solve linear programs. Is there any package that that solves the MINLP case? Any info or pointers would be greatly appreciated. Jonathan.
2016 Aug 21
0
[PATCH 1/1] virtio-gpu: avoid possible NULL pointer dereference
If output is NULL it is not permissable to dereference it. So we should leave the respective function in this case. The inconsistency was indicated by cppcheck. No actual NULL pointer dereference was observed. Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de> --- drivers/gpu/drm/virtio/virtgpu_plane.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git
2016 Aug 21
0
[PATCH 1/1] virtio-gpu: avoid possible NULL pointer dereference
If output is NULL it is not permissable to dereference it. So we should leave the respective function in this case. The inconsistency was indicated by cppcheck. No actual NULL pointer dereference was observed. Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de> --- drivers/gpu/drm/virtio/virtgpu_plane.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git
2002 Oct 03
2
lm fitting with a specified slope
Is there an easy way to do a linear model with an a priori known slope? In essence, I want to minimize the residuals around a line of known slope. -R -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2006 Jan 06
0
Performance problem w/ Rake on MS SQL 2000 1-GB database
Hello all, I have a legacy 1Gb MS SQL 2000 database in production. A copy of this is my dev db. rake prepare_test_database on this database takes 20+ minutes. Can someone PLEASE tell me if there is a solution to improving the prepare time for this DB ? Thank you thank you thank you in advance! -- ------------------------------ me in you, you in me - the primal empathic mirror in all of us.
2013 May 26
1
[REGRESSION] system does not resume from ram due to commit "drm/nv50/fifo: prevent races between clients updating playlists"
My NV96 does not resume from suspend to ram (the screen stays black, magic sysrq keys do work) with the current linus git kernel, i bisected it to the following commit. drm/nv50/fifo: prevent races between clients updating playlists b5096566f6e1ee2b88324772f020ae9bc0cfa9a0 It's not obvious to me how this causes problems, but reverting this commit does solve my problem. -- Far away from the
2012 Mar 16
1
quadprog error?
I forgot to attach the problem data, 'quadprog.Rdata' file, in my prior email. I want to report a following error with quadprog. The solve.QP function finds a solution to the problem below that violates the last equality constraint. I tried to solve the same problem using ipop from kernlab package and get the solution in which all equality constraints are enforced. I also tried an old