Re: [R] Quadratic Constraints

2009-09-22 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.

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

[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 =

Re: [R] Quadratic Constraints

2009-09-20 Thread Hans W. Borchers
The package lpSolve (that I have recommended before) supports so-called 'semi-continuous variables', that is Semi-continuous variables are variables that must take a value between their their minimum and maximum or zero. So these variables are treated the same as regular variables,

[R] Quadratic Constraints

2008-05-12 Thread Shubha Vishwanath Karanth
Hi R, A quick question How can I optimize the objective function constrained to quadratic constraints? Which function of R is useful for quadratic constraints? Many Thanks, Shubha This e-mail may contain confidential and/or privileged i...{{dropped:13}}

Re: [R] Quadratic Constraints

2008-05-12 Thread Shubha Vishwanath Karanth
12, 2008 3:27 PM To: [EMAIL PROTECTED] Subject: [R] Quadratic Constraints Hi R, A quick question How can I optimize the objective function constrained to quadratic constraints? Which function of R is useful for quadratic constraints? Many Thanks, Shubha This e-mail may contain