Re: [R] Help using spg optimization in BB package

2009-04-22 Thread Ravi Varadhan
/Faculty/Varadhan.html -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of dre968 Sent: Wednesday, April 22, 2009 8:23 AM To: r-help@r-project.org Subject: [R] Help using spg optimization in BB package i'm trying to use the BB package to mini

Re: [R] Help using spg optimization in BB package

2009-04-22 Thread Ravi Varadhan
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of dre968 Sent: Wednesday, April 22, 2009 8:23 AM To: r-help@r-project.org Subject: [R] Help using spg optimization in BB package i'm trying to use the BB package to mini

Re: [R] Help using spg optimization in BB package

2009-04-22 Thread Ravi Varadhan
Varadhan.html -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of dre968 Sent: Wednesday, April 22, 2009 8:23 AM To: r-help@r-project.org Subject: [R] Help using spg optimization in BB package

[R] Help using spg optimization in BB package

2009-04-22 Thread dre968
i'm trying to use the BB package to minimize the sum of the squared deviations for 2 vectors. The only thing am having trouble with is defining the project constraint. I got the upper and lower bounds to work but i am not sure how to create a constraint that the sum of x must be 1. Any help wou