[R] Java to R interface.

2009-09-25 Thread vikrant S
I want to call R functions from Java. I read a couple of forums that said to install package rJava in R. However I am not able to install rJava package in linux Ubuntu.I tried with two commands. One is install.packages("rJava") and another I downloaded the rJava_0.7-0.tar.gz file from R site. and

Re: [R] Quadratic Constraints

2009-09-22 Thread vikrant S
Hi Hans, I am very much thankful to you for helping me to solve the problem. I went through the link provided by you and tried to solve the problem. But I think there's some problem with the code. So it is not arriving at the optimal solution.In Some cases it shows optimum solution while in some

Re: [R] Quadratic Constraints

2009-09-21 Thread vikrant S
Thanks Hans for ur help I will try to solve the problem accordingly if there are any problems will contact u surely . -- View this message in context: http://www.nabble.com/Quadratic-Constraints-tp25528480p25530553.html Sent from the R help mailing list archive at Nabble.com. _

[R] Quadratic Constraints

2009-09-20 Thread vikrant S
HI All, I am unable to solve a optimization Problem Please Help Me out of this to solve. The Optimization problem is as follows :- My objective function is linear and one of the constraint is quadratic. Min z = 5 * X1 + 9* X2 + 7.15 *X3 + 2 * X4 subject to X1 + X2 + X3 +X4 = 9 X1 + X4 < =

[R] Linear objective function with Quadratic constraints

2009-09-18 Thread vikrant S
I am new to R and I want to solve this following problem using R. My Objective function is a linear function with Quadratic constraints.I want to know how to solve this problem and which package will be helpful for me for solving such type of problems.Moreover my one constraint is linear and equa