Re: [R] Linear programming problem, RGPLK - "no feasible solution".

2011-10-13 Thread liuevans
Thank you very much for this! This also solves my original problem. I can't remember at what point I assumed the bounds would be written that way. It was a costly error. Regarding the potential bug, I'm going to report it. R shut down completely every time I ran the program, but didn't when I

Re: [R] Linear programming problem, RGPLK - "no feasible solution".

2011-10-10 Thread Hans W Borchers
Liu Evans, Gareth liverpool.ac.uk> writes: > 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

Re: [R] Linear programming problem, RGPLK - "no feasible solution".

2011-10-10 Thread Liu Evans, Gareth
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

[R] Linear programming problem, RGPLK - "no feasible solution"

2011-10-07 Thread Liu Evans, Gareth
Dear All, RGLPK says that there is no feasible solution but I think there should be. In a more general setup with more variables, where we know the feasible solution analytically, it also says there is no feasible solution. I have tried different values. except the 0s and 1s must stay as they