Displaying 5 results from an estimated 5 matches for "aind".
Did you mean:
aid
2006 Nov 08
0
Solving a maximization problem using QUADPROD
...1/2 b^T b?
# Assume we want to minimize: -(0 5 0) %*% b + 1/2 b^T b
# under the constraints: A^T b >= b0
# with b0 = (-8,2,0)^T
# and (-4 2 0)
# A = (-3 1 -2)
# ( 0 0 1)
# we can use solve.QP.compact as follows:
#
library(quadprog)
Dmat <- matrix(0,3,3)
diag(Dmat) <- 1
dvec <- c(0,5,0)
Aind <- rbind(c(2,2,2),c(1,1,2),c(2,2,3))
Amat <- rbind(c(-4,2,-2),c(-3,1,1))
bvec <- c(-8,2,0)
solve.QP.compact(Dmat,dvec,Amat,Aind,bvec=bvec)
Thanks,
Serguei
2008 May 07
2
Problem installing tseries under FC7 x86_64
I have just installed the 64 bit version of R, using yum. The version
is: 2.6.2-1.fc7.1.x86_64.
I installed zoo without any major problem and the same with quadprog (a
few warnings). However, when I came to install tseries I get the
following:
install.packages()
Warning in install.packages() :
argument 'lib' is missing: using
2008 Jul 10
3
µTorrent + SSL tracker connections = HTTP Reply 0
...ork with WINE
my issue is:
whenever i try to connect to a torrent sites tracker via HTTPS instead of HTTP, i get a "HTTP Reply 0" error. this is on both of my computers with 1.6.1 and whatever the newest version of utorrent was as of last week. i can change from https:// to http:// again aind it will announce and grab peers fine.
the only problem is, due to a new legislation inside of sweden- people there want all incoming traffic to be encrypted.
i am at a loss, a few people have described the problem and so far the ONLY known resolution has been to swap to another linux native bitto...
2001 Nov 20
0
Summary: non-negative least squares
...of x and y helps (if solve.QP.compact fails
otherwise)
xscale <- apply(abs(x),2,mean)
yscale <- mean(abs(y))
x <- t(t(x)/xscale)
y <- y/yscale
Rinv <- backsolve(qr.R(qr(x)),diag(m))
cf <- solve.QP.compact(Dmat=Rinv,dvec=t(x)%*%y,Amat=rbind(rep(1,m)),
Aind=rbind(rep(1,m),1:m),bvec=eps*xscale/yscale,
factorized=TRUE)$sol
cf <- cf*yscale/xscale #scale back
cf
}
##- #PS: Why the scaling in nnls.fit?
##- # Consider the following
##- y <- c(1659799.4,2741065.6,652875.7)
##- x <- matrix(c(24950.79,34825.50,14387.05...
2011 Mar 31
1
R packages "Demography installing Error In Ubuntu 10.04"
...** data
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (misc3d)
* installing *source* package ‘quadprog’ ...
** libs
gfortran -fvisibility=hidden -fpic -O3 -pipe -g -c aind.f -o aind.o
gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c init.c -o init.o
gfortran -fvisibility=hidden -fpic -O3 -pipe -g -ffloat-store -c -o solve.QP.compact.o solve.QP.compact.f
gfortran -fvisibility=hidden -fpic -O3 -pipe -g -ffloat-store -c -o solve.QP.o solve.QP.f
g...