I was wondering if the R ‘Quadprog’ package has the ability to incorporate box constraints of the following form: -L*1 <= v <= L*1
Where 1 is a vector of 1’s and L is a constant. The variable to optimize is v. Basically all individual elements of v must be bounded between –lambda and lambda.
If not, are there other packages to get around this problem?
Many thanks for your help