search for: optmize

Displaying 20 results from an estimated 57 matches for "optmize".

Did you mean: optimize
2012 Jul 23
1
Help with Portfolio Optmization
Hi, I need some help with Portfolio Optimization problem. I am trying to find the minimum variance portfolio subjected to constraints on weights like /x1< w1 <x2 x3< w2 <x4</i> I need help with solving for the minimum variance portfolio as solve.QP doesn't allow me to specify the lower boundaries. Thanks Mahesh -- View this message in context:
2009 Jan 14
0
[LLVMdev] LLVM optmization
...return TESTE(atoi(argv[1]),atoi(argv[2])); > } > > I don't know how gcc4 resolves the for loop, but the MSVC is great in this example. gcc-4.3 also eliminates the loop entirely and directly calculates the value of varx. > If I change the paraml and put a constant, the LLVM optmizes very well. It looks like LLVM's scalar evolution code isn't handling your testcase well. Ciao, Duncan.
2000 Aug 29
1
optmizing encoding
Is there any reason to avoid looking at optimizing the encoding process? From just a simple profile run, it looks like a big chunk of the time is in seed_curve, sqrt, dradf4 and log. Are there big changes to the encoding part that are coming that would invalidate optimizations done now? -tim --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage:
2001 Jan 10
1
optmizing with monotone stepfunctions?
Before re-inventing the wheel I would like to ask: does anyone know about an optimizer in R which can reliably identify which value of X (Xopt) leads to Y (Yopt) closest to Ytarget in Y <- MonotoneStepFun(X) optionally with the restriction that Yopt <= Ytarget (at least if any Y <= Ytarget, otherwise any Yopt > Ytarget would be the preferred answer) If none is known, I will write
2007 Jun 23
2
End of File Error on index optmize
I was optimizing a 650MB using ferret (0.11.3) and I received the following error. I''ve seen some people have similar issues but I haven''t seen any resolutions. The contents of the index directory follow the error. Has anyone seen anything like this and found a resolution? Many thanks. /mnt/apps/search/releases/20070622175637/script/../config/../vendor/
2013 Jan 04
2
[LLVMdev] Compiler opt is turned off ?
Hello, I was trying to run few testcases and see how llvm optmizes different scenarios. I have a small testcase like: #include <stdio.h> int a, b, c; int main() { a = b + c; c = a; if (a == b) b = c; else b = a; printf( " a = %d \n ", a ); return 0; } The corresponding llvm IR is (...
2009 Nov 12
2
Non linear programming optimization (which package to use?)
Hello, 1) Is there any nonlinear programming optmizer that I can user for the following problem? Obj function: (max) revenue = price * volume Constraints: price and volume pair must be from the following variable data set: Variable data set: # price volume 1 10 500 2 20 450 3 30 330 4 40 250 5 50 190 Expected result: 10,000 (variable row#4) 2) Co...
2004 Sep 29
2
Approximate a f(x,y)
Hi all, Running simulations, I'm generating market response to 2 factors X&Y.. There is no closed form for the market response.. The results are store in a matrix Z(X <- seq(.02,.98,.02), Y <- seq(.01,.19,.01)).. For optmization purpose I need to approximate the values for any factor X in 0,02-0,98 and Y in 0,01-0,19 How can I do it ? For one factor : Xn-1 < x <= Xn
2010 Jul 02
2
[LLVMdev] Executing a transformed program
...s. So now it´s finished I´d like to run the optimized programs generated by my pass. But I´ve got some problems to do this, because I didn´t find a way to generate assembly from the code and then call the gcc compiler to produce machine-dependent code. Please, does anybody know how to run programs optmized by passes? Thanks you all! Best regards, Alysson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100702/1c72679b/attachment.html>
2009 Jan 06
2
[LLVMdev] LLVM Optmizer
The following C code : #include <stdio.h> #include <stdlib.h> int TESTE2( int parami , int paraml ,double paramd ) { int varx=0,vary; int nI =0; //varx= parami; if( parami > 0 ) { varx = parami; vary = varx + 1; } else { varx = vary + 1; vary = paraml; } varx = varx + parami + paraml; for( nI = 1 ; nI <= paraml; nI++) { varx =
2005 Nov 07
9
has anyone tried adsl-optmizer kernel patches for dsl modems?
Hi I''m using wondershaper like script. But noticed imperfect scheduling. By googling, I found some patches that takes the aal5 atm overhead in the scheduling algorithms. http://www.adsl-optimizer.dk/ADSL-optimizer/ Before trying it, has anyone tried these patches? they apply on 2.4.29 kernel and 2.6.9 TC. I use centos4 with a 2.6 kernel, so I can''t try these easily. Thanks
2010 Jul 04
2
[LLVMdev] Executing a transformed program
...rograms generated by > my > > pass. > > But I´ve got some problems to do this, because I didn´t find a way to > > generate assembly from the code and then call the gcc compiler to produce > > machine-dependent code. > > Please, does anybody know how to run programs optmized by passes? > > > > Thanks you all! > > Best regards, > > Alysson > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/ma...
2013 Aug 20
4
[LLVMdev] Memory optimizations for LLVM JIT
...------------------------------- A GlobalValue was declared and mapped to the variable p. Some LLVM IR instructions were created according to those generated by LLVM from source. I.e., load p, load a[1] based on p, load p again, store a[2] based on p, etc. The machine code turned out to be slightly optmized, as shown on the left. Things were getting better after the GlobalVariable of p was set as a constant. Redundant Loads of p (line 5, 8 and 11) were removed, and so was line 12 because of line 10. However, I could not make it better any more, although optimal machine code just need those marked wi...
2011 Sep 15
1
[LLVMdev] getelementptr with dynamic index
Hi, the following llvm-ir is manipulated by the optimizers: %target2 = getelementptr %.string %result, i32 0, i32 3, i32 %len1 (%_.string = type {i32, i32, i32, [0 x i8]}) the last parameter i32 %len1 is replaced by i32 0 by the optimizers. (both, 2.9 and 2.8). When i turn optmization off, it works correctly. How can i use an optimizer-safe dynamic indexing of arrays? -------------- next part
2009 Jan 26
1
error managment
Hello R experts! I'm running a FOR loop in which at every step an arima model is generated. The problem is some series produces numeric problems with optim. My question is if there is a way of telling to R that at every critical error of optim jumps to the next series instead of stopping the calculations. Or better yet, tell it to run another arima fit but with a different optmization
2010 May 24
2
ROC curve
HI, Dear R community, I want to know how to select the optimal decision threshold from the ROC curve? At what threshold will give the highest accuracy? Thanks! -- Sincerely, Changbin -- [[alternative HTML version deleted]]
2013 Jan 04
0
[LLVMdev] Compiler opt is turned off ?
Since a, b, and c are globals, how does the optimize *know* they are not used elsewhere (e.g. another module)? On Fri, Jan 4, 2013 at 7:49 AM, Somenath Chakraborty <some.chak at gmail.com>wrote: > Hello, > > I was trying to run few testcases and see how llvm optmizes different > scenarios. I have a small testcase like: > > > #include <stdio.h> > > > > int a, b, c; > > > > int > > main() > > { > > a = b + c; > > c = a; > > > > if (a == b) > > b = c; > >...
2011 Oct 27
2
[LLVMdev] Resolving sizeof's; target triples; type optimizations
Hi all, A few different though somewhat related questions here. I'm really grateful for your answers! 1. From a previous question I know that sizeof's are resolved into literals early in the front-end before IR is even emitted. It seems that they are resolved into whatever value is correct for the host machine. But if one wishes to then take the IR and emit assembly code for some other
2009 Jan 07
3
[LLVMdev] LLVM optmization
The following C test program was compiled using LLVM with -O3 option and MSVC with /O2. The MSVC one is about 600 times faster than the one compiled with the LLVM. We can see that the for loop in MSVC assembler is solved in the optimization pass more efficiently than that in LLVM. Is there an way to get a optimization result in LLVM like that of the MSVC? Manoel Teixeira #include
2010 Jul 02
0
[LLVMdev] Executing a transformed program
...´d like to run the optimized programs generated by my > pass. > But I´ve got  some problems to do this, because I didn´t find a way to > generate assembly from the code and then call the gcc compiler to produce > machine-dependent code. > Please, does anybody know how to run programs optmized by passes? > > Thanks you all! > Best regards, > Alysson > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >