search for: lsei

Displaying 7 results from an estimated 7 matches for "lsei".

Did you mean: lei
2011 Aug 27
1
Error: package 'lsei' is not installed for 'arch=i386'
Hi guys, I am having problem loading a package that I have installed. I have searched some old thread but they were no help in terms of solving the problem. I uninstalled every possible component of R and installed R 2.13 and followed the R-faqs installation steps. Then I installed the package (lsei) from local zip file which was installed successfully but can not be loaded and returns the error message as titled. The zip file can be downloaded below, it used to work fine on my old version of R (I think it was 2.9). http://www.stat.auckland.ac.nz/~yongwang/ I've check .libPaths() as some...
2010 Feb 16
0
Help with lsei() from package limSolve()
...hence no deviation) while (ii) achieving a new mean and max... Having researched constrained optimization in R and having read the "CRAN Task View: Optimization and Mathematical Programming" document (http://cran.r-project.org/web/views/Optimization.html), I have been experimenting with lsei() from the limSolve package. I have worked through the simple examples in the limSolve user manual, but am struggling to correctly set up and solve my problem. My questions to anyone experienced in solving such problems and/or with using lsei are the following: - Do you think lsei() is the best f...
2009 Dec 04
2
Solve linear program without objective function
Dear R-users, i try to solve to following linear programm in R 0 * x_1 + 2/3 * x_2 + 1/3 * x_3 + 1/3 * x_4 = 0.3 x_1 + x_2 + x_3 + x_4 = 1 x_1, x_2, x_3, x_4 > 0, x_1, x_2, x_3, x_4 < 1 as you can see i have no objective function here besides that i use the following code. library(lpSolve) f.obj<-c(1,1,1,1) f.con<-matrix(c(0,2/3,1/3,1/3, 1,1,1,1,
2012 Oct 19
2
Which package/function for solving weighted linear least squares with inequality and equality constraints?
Dear All, Which package/function could i use to solve following linear least square problem? A over determined system of linear equations is given. The nnls-function may would be a possibility BUT: The solving is constrained with a inequality that all unknowns are >= 0 and a equality that the sum of all unknowns is 1 The influence of the equations according to the solving process is
2012 Oct 24
1
equation solver
Hi, I'm Pina and I'm a student in geology. I'm working with spectral profile of sand and I have to find the similarity between one spectral profile selected by hyperspectral image anche one that I created to mix different percentage of 4 mineral component. I have to find the best mix of percentage of this 4 mineral in order to have the best likeness with the spectral profile chose by
2011 Dec 19
2
Constrained Optimisation
Dear All I have a constrained optimisation problem, I want to maximise the following function t(weights) %*% CovarianceMatrix %*% weights for the weights, subject to constraints on each element within the weights & the weights vector summing to 1. i.e. weights = (x1, x2, x3), where x1 is within some given range (a +b, a - b). I have tried to do this using the optim function in R,
2009 May 26
2
Linear Regression with Constraints
Hi! I am a bit new to R. I am looking for the right function to use for a multiple regression problem of the form: y = c1 + x1 + (c2 * x2) - (c3 * x3) Where c1, c2, and c3 are the desired regression coefficients that are subject to the following constraints: 0.0 < c2 < 1.0, and 0.0 < c3 < 1.0 y, x1, x2, and x3 are observed data. I have a total of 6 rows of data in a data set. Is