similar to: Optimization of objective function with generic number of arguments (R-Extension with C code)

Displaying 20 results from an estimated 120 matches similar to: "Optimization of objective function with generic number of arguments (R-Extension with C code)"

2004 Aug 11
0
always NaN after some running in R, but all fine in S-plus
Hello, S-plus and R helpers,(sorry for cross-post) I wrote some simple C code for one likelihood to be optimized (using optim(MASS)). I use same function, same data, same starting points and same DLL in R and S-plus for comparison. (I compiled it with 'Rcmd SHLIB likelihood.c' and the header files of it include only R.h and math.h). While it works quite fine in S-plus, it forever returns
2011 Dec 29
0
problem of "constrOptim.nl", no hessian and convergence values
Dear Helper, I used "constrOptim.nl" and got the value of par. The estimations looks good even if the number of iterations is only 16. But the values of hessian and convergence are both "NULL". I tested the objective function and gradient function by "optim" and didn't see any problem there. With these functions, "optim" gives the convergence value
2008 Jul 05
3
Editing the "..." argument
Dear all, I'd like tweaking the ... arguments that one user can pass in my function for fitting a model. More precisely, my objective function is (really) problematic to optimize using the "optim" function. Consequently, I'd like to add in the "control" argument of the latter function a "ndeps = rep(something, #par)" and/or "parscale =
2007 Oct 23
0
API for optimization with Simulated annealing
Dear list, I was trying to use the R API for optimization method "Simulated annealing" void samin(int n, double *x, double *Fmin, optimfn fn, int maxit, int tmax, double temp, int trace, void *ex); but I encountered the following problem: The implementation of the function samin (as seen in src/main/optim.c) passes its void * argument "ex" into the function
2001 Jan 26
2
Suggestion for an extension of the API
Dear R Developers (I think in particular Brian) Especially for larger optimization problems, it would be nice to have an entry point for C/C++ code to the R optimizers (the ones which are called when using optim()), where the client just has to provide the functions fminfn() and fmingr() and calls directly, e.g., vmmin() (all from $RHOME/src/main/optim.c). Are there any plans for providing such
2006 Apr 13
1
bus error on calling nmmin
Hi, I'm trying to get a toy program making use of nmmin to run successfully. I've gotten to the point of compiling. However, when I attempt to run my executable, I guess a bus error. I see that someone else has asked about using nmmin before <http://tolstoy.newcastle.edu.au/R/help/06/03/23944.html>, but I haven't come across any replies. Is there some documentation on how to
2013 Oct 04
0
ODG (Objective Difference Grade) scores for Opus Encoder using PQEvalAudio Tool
In that case, can you please suggest a reliable tool? Thanks, Rhishi From: Christian Hoene [mailto:christian.hoene at symonics.com] Sent: Friday, October 04, 2013 17:30 To: Rhishikesh Agashe; opus at xiph.org Cc: Rasmi Mishra Subject: AW: [opus] ODG (Objective Difference Grade) scores for Opus Encoder using PQEvalAudio Tool Hi Rhishi, PQevalaudio is very unreliable and buggy. I have compared
2004 Dec 09
0
[LLVMdev] LLVM Objective-C backend
Its been talked about from time to time. There really isn't anything stopping us from supporting it other than someone putting the time in to modify llvm-gcc to support C and possibly implementing the required runtime libraries for ObjC. Patches welcome! :) Reid. On Wed, 2004-12-08 at 23:01, Sébastien Pierre wrote: > Hello there, > > LLVM has C and C++ backends, so I was wondering
2007 Jul 20
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
On Fri, 20 Jul 2007, Ralph Corderoy wrote: > I could be missing something, but shouldn't the use of dlsym() be > The authors of dlsym() realised the return value was overloaded AFAICS. Yep, patches welcome :) -Chris -- http://nondot.org/sabre/ http://llvm.org/
2008 Jun 06
0
[LLVMdev] translating Objective C to C
Hi, I am thinking of integrating llvm's front end and intermediate language with program analysis tools I am developing with my colleagues (we look for memory errors and leaks, integrity of data structures, etc. -- for details see http://spaceinvader-eastlondonmassive.blogspot.com/) . My initial baby experiment was simply translating C++ to C using llvm, followed by analysis of the
2008 Jun 06
0
[LLVMdev] translating Objective C to C
Hello, Cristiano > Has anyone tried to do the same? (I can provide the specific source, > but I don't think it matters). Please provide a llvm-gcc output (main.bc) and fill a PR in LLVM bugzilla. This looks like either llvm-gcc or cbe bug. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2010 May 27
1
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
Just to be clear, nothing in the MS TCRs require that you use a certain compiler - it does, however, require that you link with the 360-specific C runtime libraries. That being said, I still believe that direct binary generation is not a feasible option, and the ObjC => C route is preferred. Kevin, hate to be asking this but do you have access to the XDK or are you just "aiming" for
2010 May 27
0
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
Kevin, On Thu, May 27, 2010 at 11:49 AM, Kevin Wooten <kdubb at me.com> wrote: > To ease our development process, actually hide it completely, we are planning on leveraging the open nature of Clang and LLVM to create a driver for these platforms that first rewrites ObjC to C and then calls the platform's C compiler passing through all command line options. This way the ObjC stage
2006 Jan 22
0
Finding good, objective reviews of major VoIP phones
Hi, Where can I find objective reviews of VoIP phones? Somebody out there must have done a comparaison of those phones, unfortunately all I can find at reviews of one phone (without comparing them to others) or obviously biased ones. Also, I'm looking for a good value business phone (for me, but also to resell to my customers). I already asked the questions in the biz mailing list, and got
2012 Apr 23
1
filter by facets and objective c version
1. How do I perform filter by facets using the C++ api? 2. Has anyone ported xapian to objective C thanks Amish -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120423/1d1c58dd/attachment.html>
2008 Apr 26
1
How to use the optim function if the length of the objective function is greater than 1?
Hi, Please help me out with this.Im a new user of R. Thanks [[alternative HTML version deleted]]
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,
2007 Jul 21
1
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi Andy, On Sat, 2007-07-21 at 14:56 +1000, Andy Kitchen wrote: > Hey Reid, > > I don't recall who originally asked for help with this, but > here's a > patch that could fix it. Please try this and let me know if it > works. If > so, I'll commit it. The patch isn't complete (it should do > something in >
2018 Feb 12
0
Is it possible to execute Objective-C code via LLVM JIT?
Hi all, > I actually looked into this recently. It is possible, but takes some non-trivial effort right now: You have to hook into the JIT memory allocator, parse the objective C metadata sections in the object file, then call the objective C runtime to register any newly added classes, protocols and selectors. > I can't release my code as-is: I built it against a hacked up copy of the
2013 Oct 04
1
ODG (Objective Difference Grade) scores for Opus Encoder using PQEvalAudio Tool
Hi Rhishi, PQevalaudio is very unreliable and buggy. I have compared to PEAQ and - as a result - now I am not using it anymore. With best regards, Christian Hoene Von: opus-bounces at xiph.org [mailto:opus-bounces at xiph.org] Im Auftrag von Rhishikesh Agashe Gesendet: Freitag, 4. Oktober 2013 12:35 An: opus at xiph.org Cc: Rasmi Mishra Betreff: [opus] ODG (Objective Difference