similar to: constrained optimisation

Displaying 20 results from an estimated 4000 matches similar to: "constrained optimisation"

2010 Dec 10
1
Stricter read.table?
read.table gives idiosyncratic results when the input is formatted strangely, for example: read.table(textConnection("a'b\nc'd\n"),header=FALSE,fill=TRUE,sep="",quote="'") => "c'd" "a'b" "c'd"
2013 Feb 02
2
create and save a simulated dataset
Hello, I am trying to learn how to create a simulated dataset of a forest stand: I must simulate 10 stands, for each of the stands I have been creating a random number of trees. For each tree I should create a random diameter. The problem I have is that I cannot use a matrix because the length of the three items is different. I was trying with list but I have no clue on how to make a dataset out
2003 Oct 31
1
constrained nonlinear optimisation in R?
Hello. I have searched the archives but have not found anything. I need to solve a constrained optimisation problem for a nonlinear function (“maximum entropy formalism”). Specifically, Optimise: -1*SUM(p_ilog(p_i)) for a vector p_i of probabilities, conditional on a series of constraints of the form: SUM(T_i*p_i)=k_i for given values of T_i and k_i (these are constraints on
2013 Feb 15
1
FRONTIER
Hello everybody, Anyone familiar with the package frontier? I have some general questions on how to approach the model design. Thanks in advance Giovanna Giovanna Ottaviani Aalmo Stipendiat/Ph.D. Student ------------------------------------------- Norsk institutt for skog og landskap Pb 115, NO-1431 Ås T (+47) 64 94 9094 M(+47) 980 30 422 F(+47) 64 94 90 80
2004 Nov 22
1
RWinEdt, other text editors and R2.01 a problem in pasting commands
Dear All, In the last few days I started using the last version of R as I encountered a problem with R1.9 and the use of RWinEdt, however the problem shows with R2.01 as well. More precisely 1. I install R2.01 after removing old verions of R 2. I Install RWinEdt package versione RWinEdt_1.6-2 and SWinRegistry_0.3-2 and everything seems fine 3. I recall the RWinEdt library (library(RWinEdt)) and
2005 Nov 30
1
Corrupted workspace(?)
Dear R helpers, I'm using R2.2 under windows XP professional on a Dell double processor workstation. I have a large (29Mb) workspace that I'm trying to load both, by double clicking and by direct load. The message I get is "Bad restore file magic number (file may be corrupted)...". I believe that this is a consequence of a huge spike in the electrical system that my voltage
2003 Dec 20
1
sound library
I'm collaborating with and electronic musician to experiment on the production of music from number sequences. As I'm an R user I started playing around with the sound library and I found it very useful. However there are several things I do not understand (I'm not an expert in acustic nor audio signal treatment). The first thing I'd like to understand is: let s be a normalized
2009 Feb 05
2
Non-linear optimisation
Hi there, I have a piece of Matlab code I use to optimise a trding strategy. If there are any Matlab/R specialists out there, I would appreciate your help in doing the exact same optimisation in R. I suspect I would use nlm() in R but am not sure where to define my constraints. I have attached my Matlab code below for reference. Many thanks. Constraints function [c,ceq]=TriskellConstraints(X)
2008 Feb 27
2
[LLVMdev] Passing parameters to LLVM optimisation passes
I'm fairly new to LLVM, and am writing an optimisation pass to be run by 'opt'. However, i'd like this pass to be parameterisable; as such i'd like to be able to pass an option to it (preferably via the command line to 'opt'). e.g. so i can do something like this "opt -load mypass.so -MyPass=MyPassOption < inputfile.bc ..." (for example one thing I would
2012 Apr 26
0
constrained optimisation without second order derivatives? - lnsrch error
Hi, I'm trying to do some constrained non-linear optimisation, but my function does not have second order derivatives everywhere. To be a little more specific (the actual function is huge and horrible, so it would probably be better to just describe it) my model has four variables and I'm using optim to minimise an error term. My data is split into discreet days and I have two types of
2010 Aug 24
1
Constrained non-linear optimisation
I'm relatively new to R, but I'm attempting to do a non-linear maximum likelihood estimation (mle) in R, with the added problem that I have a non-linear constraint. The basic problem is linear in the parameters (a_i) and has only one non-linear component, b, with the problem being linear when b = 0 and non-linear otherwise. Furthermore, f(a_i) <= b <= g(a_i) for some (simple) f
2002 Feb 19
1
Constrained optimisation
Hello, I need to solve a non-linear optimization with non-linear constraints. The 'nlm' routine does not seem to allow constraints. Is there a package for solving such problems in R? Thanks, John. -- ========================================== John Janmaat Department of Economics Acadia University, Wolfville, NS, B0P 1X0 (902)585-1461 All opinions stated are personal, unless
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,
2011 Dec 19
1
None-linear equality constrained optimisation problems
Dear R users, I have a problem. I would like to solve the following: I have pL = 1/(1+e^(-b0+b1)) pM = 1/(1+e^(-b0)) pH = 1/(1+e^(-b0-b1)) My target function is TF= mean(pL,pM,pH) which must equal 0.5% My non-linear constraint is nl.Const = 1-(pM/pH), which must equal 20%, and would like the values of both b0 and b1 where these conditions are met. I have searched widely for an answer,
2006 Aug 22
2
speex optimisation for ARM 5TE architecture
Hello everyone, Can any body please tell me the compiler options to optimise the speex code for ARM TE architecture. Fixed point is enabled. It currently takes about 700ms to encode 5 sec worth of voice. I need to get it down to under 10ms. Is the option --enable-arm5te-asm supported? I am using speex 1.1.12 version. The configure.ac file does not seem to support --enable-arm5te-asm
2013 Apr 20
3
[Bug 2094] New: Executing commands via ssh on a remote host has different parameter passing properties
https://bugzilla.mindrot.org/show_bug.cgi?id=2094 Bug ID: 2094 Summary: Executing commands via ssh on a remote host has different parameter passing properties Classification: Unclassified Product: Portable OpenSSH Version: 6.2p1 Hardware: Other OS: OpenBSD Status: NEW Severity:
2001 Jan 23
5
iptables
Isn''t it possible with iptables to filter on DSCP field? Thanks, Tom Aernoudt
2005 Nov 28
3
Looking for constrained optimisation code
_______________________________________________________________________________________ Hi, I was just wondering if there was any available R code that could handle general constrained optimisation problems. At the moment I'm using nlminb and optim, both of which allow box constraints on the parameters, but ideally I'd like to be able to specify more general constraints on the solution
2005 Feb 26
1
[LLVMdev] Wrong optimisation (web demo)?
I came across the LLVM demo (http://llvm.cs.uiuc.edu/demo/index.cgi) today. It seems to mis-optimise my test case, calculating the wrong value. I'm not a LLVM user so it's not a problem for me; just thought I'd send it your way in case this is a bug. The following code should return the value 17 (I tested with GCC, to be sure): int main() { int i; for (i=0; i<10; i++)
2006 May 18
1
[LLVMdev] Runtime optimisation in the JIT
Hi All, I've just started investigating LLVM for use in a project of mine, and I've got a couple of questions: 1. How does LLVM support run-time optimisation - i.e: which elements of the toolchain will optimise a running bytecode / binary? 2. Is there a way, with the existing infrastructure, to do adaptive compilation using the JIT interpreter? Watching said interpreter through GDB