[R] how to intergrate rglpk with Rserve

2009-10-26 Thread pragathichi
I am using eclipse and jboss server.I am successful in calling R from java using Rserve. Now i want to solve lpp (linear programming). For this i require rglpk package how to write the java program to include the rglpk package or to solve the lpp. this is the small program which i tried c.assig

[R] Rserve with java commands and examples

2009-09-30 Thread pragathichi
I am currently working in Rserve. I have trouble understanding the eval commands and when to use it? How to write java script for R commands? Is there any tutorial or documentation. Thanks in advance for your help. -- View this message in context: http://www.nabble.com/Rserve-with-java-commands-

Re: [R] Semi continous variable- define bounds using lpsolve

2009-09-23 Thread pragathichi
> # [1] 0.00 2.45 0.00 6.55 0.00 > # > # $status > # [1] 0 > #-- snap --- > > Semi-continuous variables are sometimes preferred as with a good > implementation the solution is reached much faster (that's why I suggested > them), but they can always be modelled with

[R] Semi continous variable- define bounds using lpsolve

2009-09-22 Thread pragathichi
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 se

Re: [R] Quadradic constraint in optimization of linear program

2009-09-17 Thread pragathichi
isfying the 1st constraint are optimum. No software > needed. > > On Thu, Sep 17, 2009 at 4:19 AM, pragathichi > wrote: >> >> Can someone suggest which package is required for optimization of linear >> program with quadradic constraint. >> >> Eg max x1+x2+x3 >

[R] Quadradic constraint in optimization of linear program

2009-09-17 Thread pragathichi
Can someone suggest which package is required for optimization of linear program with quadradic constraint. Eg max x1+x2+x3 subject to x1+x2+x3=10 x3^2 >= 0 -- View this message in context: http://www.nabble.com/Quadradic-constraint-in-optimization-of-linear-program-tp25487057p25487057.html Sen