Re: [R] help using R's linprog for LP

2009-10-24 Thread Hans W Borchers
Medha Atre medha.atre at gmail.com writes: Hi, I found the reason. By default it puts a condition for x = 0. Is there a way to get rid of this condition? The constraints x = 0 are used in most linear programming realizations. Some bounds from below are needed. The trick to circumvent the

[R] help using R's linprog for LP

2009-10-23 Thread Medha Atre
Hi, I am using R in one of my courses. I am trying to use R's linprog package to solve to formulate 2-class classification problem as Linear programming problem. For my formulation, I need to set to cvec to all 0s. I know the points are linearly separable so an optimal solution x does exist,

Re: [R] help using R's linprog for LP

2009-10-23 Thread Medha Atre
Hi, I found the reason. By default it puts a condition for x = 0. Is there a way to get rid of this condition? Medha On Fri, Oct 23, 2009 at 2:34 PM, Medha Atre medha.a...@gmail.com wrote: Hi, I am using R in one of my courses. I am trying to use R's linprog package to solve to formulate