Re: [R] suboptimal lp solutions

2008-10-23 Thread Selwyn McCracken
Thanks to Peter and Mark for your replies - I am obviously not setting up the inputs correctly. On Thu, Oct 23, 2008 at 3:02 AM, <[EMAIL PROTECTED]> wrote: > Hi Selwyn: To follow up on Peter's reply, you're either not setting up the > problem to do what you want it to do or you're not understand

Re: [R] suboptimal lp solutions

2008-10-22 Thread Peter Dalgaard
Selwyn McCracken wrote: > Hi list, > > I want to find the total maximum resources I can spend given a set > allocation proportion and some simple budget constraints. > > However, I get suboptimal results via lp and friends (i.e. lpSolve and > simplex in the linprog and boot) . > > For example: > >

[R] suboptimal lp solutions

2008-10-22 Thread Selwyn McCracken
Hi list, I want to find the total maximum resources I can spend given a set allocation proportion and some simple budget constraints. However, I get suboptimal results via lp and friends (i.e. lpSolve and simplex in the linprog and boot) . For example: library(lpSolve) proportions = c( 0.46, 0

[R] suboptimal lp solutions

2008-10-22 Thread Selwyn McCracken
Hi list, I want to find the total maximum resources I can spend given a set allocation proportion and some simple budget constraints. However, I get suboptimal results via lp and friends (i.e. lpSolve and simplex in the linprog and boot) . For example: library(lpSolve) proportions = c( 0.46, 0