Displaying 20 results from an estimated 1000 matches similar to: "Rglpk"
2009 Jun 11
2
Optimization Question
Hi All
Apologies if this is not the correct list for this question.
The Rglpk package offers the following example in its documentation
library(Rglpk)
## Simple mixed integer linear program.
## maximize: 3 x_1 + 1 x_2 + 3 x_3
## subject to: -1 x_1 + 2 x_2 + x_3 <= 4
## 4 x_2 - 3 x_3 <= 2
## x_1 - 3 x_2 + 2 x_3 <= 3
## x_1, x_3 are non-negative integers
## x_2 is a non-negative real
2011 Oct 03
1
minimisation problem, two setups (nonlinear with equality constraints/linear programming with mixed constraints)
Dear All,
Thank you for the replies to my first thread here: http://r.789695.n4.nabble.com/global-optimisation-with-inequality-constraints-td3799258.html. So far the best result is achieved via a penalised objective function. This was suggested by someone on this list privately. I am still looking into some of the options mentioned in the original thread, but I have been advised that there may
2009 Aug 05
1
regarding Rglpk loading
Hi everybody,
I installed Rglpk package from local zip files. Then I tried to load the
package in a R session. But R shows following message.
Loading required package: slam
Error: package 'slam' could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc =
lib.loc) :
there is no package called 'slam'
Hence, the
2009 Oct 13
7
lapply() reccursively
Hi all,
I was wondering whether it is possible to use the lapply() function
to alter the value of the input, something in the spirit of :
a1<-runif(100)
a2<-function(i){
a1[i]<-a1[i-1]*a1[i];a1[i]
}
a3<-lapply(2:100,a2)
Something akin to a for() loop, but using the lapply() infrastructure.
I haven't been able to get rapply() to do this.
The reason is that the "real"
2009 Sep 22
2
Semi continous variable- define bounds using lpsolve
How to define bounds for a semi continous variable in lp_solve.
Min 5x1 +9x2 +7.15x3 +0.1x4
subject to
x1+x2+x3+x4=6.7
x1+x4 <= 6.5
And x3 can be 0 or greater than 3.6
hence x3 is a semi continous variable
how to define bounds as well as semicontinous function because using
set.semicont and set. bound simantaneously doesn't seem to work.Thanks in
advance for the help
--
View this
2010 May 20
1
RSpython Ubuntu
Dear List,
I'd like to call pyhton function from within R. I tried installing the latest
version of RSPython:
wget http://www.omegahat.org/RSPython/RSPython_0.7-1.tar.gz
R CMD INSTALL --clean RSPython_0.7-1.tar.gz
I get a compile error (posted below).
Did anyone else run against this ? Is there a solution ?
checking for python... /usr/bin/python
Python version 2.6
Using threads
checking
2015 Mar 19
3
CRAN binary, but no source
Hi All,
this is a CRAN question, so I am sorry if this is not the appropriate forum.
I noticed that there is at least one CRAN package that has a binary (OSX
Mavericks) for a version, that does not have any source package on CRAN. Or
at least I am unable to locate it. The package is Rglpk:
http://cran.r-project.org/web/packages/Rglpk/index.html
It offers a binary for 0.5-2, but there is no
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
2012 Mar 05
2
source for function sample() in package base?
Hi all,
were can i find the sources for the function sample()
(the one from the base package)
thanks in advance,
--
View this message in context: http://r.789695.n4.nabble.com/source-for-function-sample-in-package-base-tp4447796p4447796.html
Sent from the R help mailing list archive at Nabble.com.
2015 Mar 19
2
CRAN binary, but no source
On Thu, Mar 19, 2015 at 10:54 AM, John McKown
<john.archie.mckown at gmail.com> wrote:
> On Thu, Mar 19, 2015 at 10:46 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
>> Hi All,
>>
>> this is a CRAN question, so I am sorry if this is not the appropriate forum.
>>
>> I noticed that there is at least one CRAN package that has a binary (OSX
>>
2015 Mar 19
2
CRAN binary, but no source
----- Original Message -----
> From: "G?bor Cs?rdi" <csardi.gabor at gmail.com>
> To: "John McKown" <john.archie.mckown at gmail.com>
> Cc: r-devel at r-project.org
> Sent: Thursday, March 19, 2015 9:03:37 AM
> Subject: Re: [Rd] CRAN binary, but no source
>
> On Thu, Mar 19, 2015 at 11:59 AM, John McKown
> <john.archie.mckown at
2012 Apr 08
2
xyplot() does not plot legends with "relation=free" scales
Hi all,
I have this problem with lattice that xyplot() won't draw some of my axis labels if the type (i.e. the relation argument) of scales is set as free. For example, in the plot below, I would want it to also show:
1. the labels E1,...E6 below the 10th panel (i.e. 3rd row, 2 col)....just as it is now done below the 12th panel....
2. as well as the labels (2,4,6,8) on the top of panels 1
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
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
2015 Mar 20
1
CRAN binary, but no source
On 19/03/2015 19:26, Duncan Murdoch wrote:
> On 19/03/2015 2:55 PM, peter dalgaard wrote:
>> > On 19 Mar 2015, at 19:45 , G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
>> >
>> > On Thu, Mar 19, 2015 at 2:19 PM, Dan Tenenbaum <dtenenba at fredhutch.org>
>> > wrote:
>> > [...]
>> >
>> >>
>> >> In github?
2015 Mar 19
0
CRAN binary, but no source
On Thu, Mar 19, 2015 at 10:46 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> Hi All,
>
> this is a CRAN question, so I am sorry if this is not the appropriate forum.
>
> I noticed that there is at least one CRAN package that has a binary (OSX
> Mavericks) for a version, that does not have any source package on CRAN. Or
> at least I am unable to locate it. The
2010 Aug 25
1
(no subject)
Hi
I am using repeated meaturement data for my project and I want to use quantile
regression with multilevel or panel data in "R."
I dont find the basic version of software in R, so I have difficulty in using
it.
I would also appreciate if anyone more proficient in R could help me how to run
this.
best wishesÂ
M.A-Vakili
Department of Biostatistics
Faculty of Medicine
Shiraz/Iran
2010 Oct 24
1
140 packages in R Commander!!
Dear List
I just downloaded and installed R 2.12.0 and then installed R Commander .
First it got RCmdr and Car, and then suggested for other packages for
utilizing the full functionality- I clicked yes!
I got 140 packages installed!!! Cran Mirror was UCLA...
Here is the list.
Is this intentional- I can see some packages like snow and multicore which
are desirable but quite optional.(see list
2004 Aug 06
2
[lists] Speex & Java ...
On Thu, 2003-04-03 at 12:59, Kaveh Goudarzi wrote:
> Hello People,
>
> Are there any ongoing efforts to port speex enc/dec
> to java? I know there are a couple of things lying about in
> jcraft and other sites but they all seem a little half hearted.
You might like to write a JNI Wrapper.
Cheers
David
> I've used jspxdec.zip written by james.lawrence@hellonetwork.com
2004 Aug 06
2
[lists] Speex & Java ...
> Thanks, I'm having a look at it. I've also had a look at the
> various files making up libspeex trying to see how hard the port to
> java would be ... Having only had a cursory look it looks ok except
> for filters_sse.h & lpt_sse.h which have some assembly.
>
> Jean-Marc can you throw some light on what these do ... Also
> anyone interested in chiping in some