Displaying 20 results from an estimated 400 matches similar to: "Optimizing with constraints using alabama"
2010 Sep 21
2
Trouble with Optimization in "Alabama" Package
Hello,
This is my first post to the help request list, so I'm going to err on the
side of giving too much information.
I'm working on writing a simulation in which agents will make repeated
production and exchange decisions with randomly chosen partners.
The idea is, all agents can produce two goods which they want to consume,
they choose a value t in [0,10] which sets their production
2011 May 18
1
Constrainted Nonlinear Optimization - lack of convergence
Hello,
I am attempting to utilize the 'alabama' package to solve a constrained
nonlinear optimization problem.
The problem has both equality and inequality constraints (heq and hin
functions are used). All constraints are smooth, i.e. I can differentiate
easily to produce heq.jac and hin.jac functions.
My initial solution is feasible; I am attempting to maximize a function,
phi. As
2011 Nov 12
1
State space model
Hi,
I'm trying to estimate the parameters of a state space model of the
following form
measurement eq:
z_t = a + b*y_t + eps_t
transition eq
y_t+h = (I -exp(-hL))theta + exp(-hL)y_t+ eta_{t+h}.
The problem is that the distribution of the innovations of the transition
equation depend on the previous value of the state variable.
To be exact: y_t|y_{t-1} ~N(mu, Q_t) where Q is a diagonal
2013 Feb 10
3
Constrained Optimization in R (alabama)
Dear List,
I'm trying to solve this simple optimization problem in R. The parameters
are the exponents to the matrix mm. The constraints specify that each row
of the parameter matrix should sum to 1 and their product to 0. I don't
understand why the constraints are not satisfied at the solution. I must be
misinterpreting how to specify the constrains somehow.
library(alabama)
ff <-
2011 Nov 05
1
Error in eigen(a$hessian) : infinite or missing values in 'x'
Dear R-users,
I'm estimating a two- dimensional state-space model using the FKF package.
The resulting log likelihood function is maximized using auglag from the
Alabama package. The procedure works well for a subset of my data, but if I
try to use the entire data set I get the following error message.
Error in eigen(a$hessian) : infinite or missing values in 'x'
What's even
2015 Apr 06
0
--append and then --append-verify will not work.
Hi all,
I do some testings on rsync by using the following method:
1- rsyning the following file with rsync:
rsync rsync://ftp.cn.debian.org/debian/dists/Debian7.8/main/binary-all/
Packages.bz2 .
2- Then I split the file into little files with the file size equaling to
128K, which is the maximum of the block-size accepted by rsync.
split -b 128K Packages.bz2
And at this point, I obtained
2015 Apr 06
0
--append and then --append-verify will not work.
Hi all,
I do some testings on rsync by using the following method:
1- rsyning the following file with rsync:
rsync rsync://ftp.cn.debian.org/debian/dists/Debian7.8/main/binary-all/
Packages.bz2 .
2- Then I split the file into little files with the file size equaling to
128K, which is the maximum of the block-size accepted by rsync.
split -b 128K Packages.bz2
And at this point, I obtained the
2011 Dec 29
0
problem of "constrOptim.nl", no hessian and convergence
Hi,
Use the `auglag' function in "alabama" if you want to get the Hessian at convergence. This typically tends to perform better than `constrOptim.nl'. Also, `constrOptim.nl' does not compute the Hessian. You should not specify method="L-BFGS-B". The default method "BFGS" is better in this setting.
Hope this helps,
Ravi
2007 Aug 11
0
Rubyists in Lower Alabama?
I''ve been at the Ruby Hoedown in Raleigh, and have had a fantastic two
days. I finally decided to get off my butt and really try to organize
a LowerAlabama.rb ...
Soooooo......
http://groups.google.com/group/loweralrb
If you''re in Baldwin or Mobile counties in AL, or Pensacola FL, or
Eastern MS...go sign up! I''m sure I''m not the only one down here.
My plan
2008 Dec 21
1
How can I get the interpolated data?
Hello,everybody!
I am a beginner of R.
And I want to ask a question. If anybody would help me, thank you very much
ahead.
I want to plot something like a response surface, and I find the "rsm"
package.
Some commands are like this:
#code head
library(rsm)
CR = coded.data(ChemReact, x1 ~ Time, x2 ~ Temp)
CR.rsm = rsm(Yield ~ SO(x1,x2), data = CR)
summary(CR.rsm)
contour(CR.rsm,x1~x2)
2014 Jun 24
3
[PATCH 1/2] Drop dosutil/mdiskchk.com
A prebuilt binary. Needs non-free Watcom compiler to build.
Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
dosutil/mdiskchk.com | Bin 8106 -> 0 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 dosutil/mdiskchk.com
diff --git a/dosutil/mdiskchk.com b/dosutil/mdiskchk.com
deleted file mode 100644
index
2005 Oct 24
0
Rgnome depends on obsolete components libglade/libxml (PR#8248)
On Mon, 2005-10-24 at 17:14 +0100, Hin-Tak Leung wrote:
> Peter Dalgaard wrote:
> > hin-tak.leung at cimr.cam.ac.uk writes:
> >
> >
> >>Full_Name: Hin-Tak Leung
> >>Version: R 2.2.0
> >>OS: x86 linux
> >>Submission from: (NULL) (131.111.126.242)
> >>
> >>
> >>Rgnome depends libglade 0.x and libxml 1.x .
>
2008 Jan 24
2
Tripp lite SMART1000LCD
Hi,
I was wondering if Tripp lite SMART1000LCD is working in nut or
what code I should change to get it to work. I saw some
older posts about this model and the OMNI1000 LCD but the model
I have has a different product ID, 2007 vs. 2005:
Device descriptor: VID:09ae, PID:2007
Device release:0x10, USB release:0x110
Descriptor Length:18, Type:1
Device Class:0, Subclass:0, Protocol:0, Num
2001 Mar 28
1
UTF-8 patch for Samba 2.0.7
See description in the attached patch.
-------------- next part --------------
This quick hack adds primitive support of UTF-8 as a server 'character
set' to Samba 2.0.7. All file, share and user names are stored on server
in UTF-8, and translated into client code page (not UCS2) on the fly.
Additionally, server string conversion is added. Tested with Chinese and
Russian Windows clients.
2005 May 25
0
Can simulation involving random number generation be segm ented?
I don't see why you need to shut R down between runs. Can you just replace
each time you generate a new 200 samples? You might also find "gc()" helpful
if you generate a lot of intermediate objects in a single run. Delete
objects you no longer need (unless you're going to replace them and can
afford to keep them around), then an explicit request gc() might help keep
you under the
2005 Feb 07
1
rpcclient error / printer driver issue
SUSE 9.1
samba-3.0.9-2.6
samba-client-3.0.9-2.6
I am getting some errors that I can't seem to track down in any of the
archives. I came across this problem when trying to delete a driver
none of the printers are listed in the smb.conf - it is all being
generated from the cups and the printcap that cups makes on load
First enumprinters works:
rpcclient $> enumprinters
2010 Oct 05
1
nonlinear curve fit of an implicit function
Hello,
I want to perform a nonlinear curve fit in order to obtain parameter
estimates from experimentally determined data (y in dependence of x),
but with an implicit function, thus, a function of which I cannot
isolate y on the left-hand side of the equation. As far as I understand,
the functions I found up to now (nls, optim) all work only for explicit
functions.
My data looks like
2005 Oct 24
0
Rgnome depends on obsolete components libglade/libxml (PR#8249)
On Mon, 2005-10-24 at 19:15 +0100, Hin-Tak Leung wrote:
> Marc Schwartz (via MN) wrote:
> > On Mon, 2005-10-24 at 17:14 +0100, Hin-Tak Leung wrote:
> >
> >>Peter Dalgaard wrote:
> <snipped>
> >>>You mean get it upgraded to xml2 and glade2? Patches would likely be
> >>>accepted...
> <snipped>
> >
> > According to the R
2005 Nov 04
2
Classification Trees and basic Random Forest pkg using t ree structures in C
> From: Hin-Tak Leung
>
> Izmirlian, Grant (NIH/NCI) wrote:
> <snipped>
> > The only interesting feature is that the tree structure has been
> > implemented in C. Its a neater way to carry stuff around and I am
> > guessing would make future implementation easier.
> >
> > Because of its inherent redundancy from the users standpoint, it
> >
2015 May 17
0
That 'make check-all' problem with the survival package
------------------------------
On Sat, May 16, 2015 2:33 PM BST Marc Schwartz wrote:
>
>> On May 16, 2015, at 6:11 AM, Hin-Tak Leung <htl10 at users.sourceforge.net> wrote:
>>
>>
>>
>> ------------------------------
>> On Sat, May 16, 2015 8:04 AM BST Uwe Ligges wrote:
>>
>> Not sure why this goes to R-devel. You just could have asked