similar to: Cplex solver and optimization in R

Displaying 20 results from an estimated 400 matches similar to: "Cplex solver and optimization in R"

2012 Feb 19
2
installing the package Rcplex
Dear All,   I have difficulty in installing the package of Rcplex. Its description web is at http://cran.r-project.org/web/packages/Rcplex/index.html   First, I tried -------------------------------------------------------------------------------------------------- url <- "http://cran.r-project.org/src/contrib/Rcplex_0.3-0.tar.gz"; download.file(url, basename(url),
2012 Jul 27
1
an optimization problem and installation of the package Rcplex
Hello, I am an R user who wants to solve an optimization problem. To do so, I tried to install the package Rcplex on my computer (Windows7-64), so I did the same as installation Instructions<http://www.geeklog.net/docs/english/install.html> and edited the file "Makevars.win" by adding the path "C:/Program Files/IBM/ILOG/CPLEX_Studio_Preview124/cplex/include" (where the
2011 May 16
0
Problem installing Rcplex in ubuntu
Dear List, I'm trying to install Rcplex on a ubuntu 64 bit machine, and have not been successful. After installing cplex latest version from ibm's website (everything as standard, except had it installed unto ~/ (the home directory) rather than the default directory). i type (from inside the directory where Rcplex_0.3-0.tar.gz is): >CPLEX_INCLUDE_PATH=~/ILOG/CPLEX/cplex
2010 Jan 15
3
optimization problem
Dear R-experts, this is not a direct R-problem but I hope you can help me anyway. I would like to minimize || PG-I || over P, where P is a p x p permutation matrix (obtained by permuting the rows and/or columns of the identity matrix), G is a given p x p matrix with full rank and I the identity matrix. ||.|| is the frobenius norm. Does anyone know an algorithm to solve such a problem? And if
2012 Mar 29
1
Error, Variable is Missing
Hi, I am writing a function to plot a pdf of a distribution, GNL.pdf.fn = function(x,mu,sigma,alpha,beta,rho) { y = x-rho*mu cf.fn = function(s){ cplex = complex(1,0,1) temp1 = alpha*beta*exp(-sigma*s^2/2) temp2 = (alpha-cplex*s)*(beta+cplex*s) out = (temp1/temp2)^rho out } temp.fn = function(s){ (Mod(cf.fn(s)))*cos(Arg(cf.fn(s))-s*y) } int.fn =
2013 Sep 26
1
Installing Rcplex
Hi, I have tried to install the R package Rcplex on windows xp without success. I have only cplex_studio124.win-x86-32 version. I have modified the makevars.win file as indicated in the installation guide ( http://cran.r-project.org/web/packages/Rcplex/INSTALL ), then I zipped the whole folder to order an installation from a zipped file (utils :menuInstallLocal()) The message I had is file
2009 Jul 06
1
R- NLP on R but ....
I'll appreciate the help on the following problem: I solved many Nonlinear programming problems with nonlinear constraints....Rdonlp is working well but i am unable to get INTEGER data with nonlinear constraints in Rdonlp. Is it possible to get Integer Values of parameters in any package of R with nonlinear constraints. Rahul [[alternative HTML version deleted]]
2009 Apr 12
3
Running random forest using different training and testing schemes
Hi, I would like to run random Forest classification algorithm and check the accuracy of the prediction according to different training and testing schemes. For example, extracting 70% of the samples for training and the rest for testing, or using 10-fold cross validation scheme. How can I do that? Is there a function? Thanks a lot, Chrysanthi. [[alternative HTML version deleted]]
2010 Sep 16
1
More accurate ODE solver?
Dear All, I was using rk4 and lsoda to solve a ODE system. However, both of them gave bad accurate solutions, especially compared with Matlab solver ODE45. For example, ODE45 gave solutions that can go to a stable level (about 1.6) when time goes to infinity, however, the solutions from lsoda are decreasing to very very small (about 1e-130) numbers. Does R have more accurate ODE solvers as
2013 Feb 20
2
'gmm' package: How to pass controls to a numerical solver used in the gmm() function?
Hello -- The question I have is about the gmm() function from the 'gmm' package (v. 1.4-5). The manual accompanying the package says that the gmm() function is programmed to use either of four numerical solvers -- optim, optimize, constrOptim, or nlminb -- for the minimization of the GMM objective function. I wonder whether there is a way to pass controls to a solver used while calling
2012 Jul 18
4
The best solver for non-smooth functions?
# Hi all, # consider the following code (please, run it: # it's fully working and requires just few minutes # to finish): require(CreditMetrics) require(clusterGeneration) install.packages("Rdonlp2", repos= c("http://R-Forge.R-project.org", getOption("repos"))) install.packages("Rsolnp2", repos= c("http://R-Forge.R-project.org",
2018 Sep 21
2
SMT solvers in clang SA
Hi all, Currently studying the impact of SMT solvers on Clang SA. Can anyone help in telling more about the SMT solvers use in clang SA ? ( Have already tested Z3 SMT solver implemented in GSoC 2018 , also looking for other SMT solvers if possible ) Thanks, Siddharth -------------- next part -------------- An HTML attachment was scrubbed... URL:
2018 Sep 21
1
[cfe-dev] SMT solvers in clang SA
We are currently implementing the backends for other solvers (you can follow the progress here: https://github.com/mikhailramalho/clang). So far we got Boolector, MathSAT and Yices ready. CVC4 should be done soon. When used to refute bugs, they all give roughly the same results: a ~5% speedup if there are refuted bugs or a ~5% slowdown if no bug is refuted. I've only tried to analyze one
2006 Oct 27
3
R & gams
At office I have been introduced by another company to new, complex energy forecasting models using gams as the basic software. I have been told by the company offering the models that gams is specialised in dealing with huge, hevy-weight linear and non-linear modelling (see an example in http://www.gams.com/modtype/index.htm) and they say it is almost the only option for doing it. I would
2009 Nov 12
2
A combinatorial optimization problem: finding the best permutation of a complex vector
Hi, I have a complex-valued vector X in C^n. Given another complex-valued vector Y in C^n, I want to find a permutation of Y, say, Y*, that minimizes ||X - Y*||, the distance between X and Y*. Note that this problem can be trivially solved for "Real" vectors, since real numbers possess the ordering property. Complex numbers, however, do not possess this property. Hence the
2010 Jun 16
1
R and LINGO?
Good Evening Does anyone in the R-help list have experience writing an R wrapper that interfaces with the commercial packages LINGO and/or LINDO.api from R? I have a set of nonlinear/mixed integer problems that solve nicely with LINGO but I would like to use R to set the problems up and analyze/plot the solutions dynamaically. I have searched the archives and have not found any R packages that
2008 Aug 13
1
properly reporting compile bugs
A while ago I decided to simply download and install every package on CRAN (disk space is cheap these days...). In the process, I kept loose track of which packages generated one or more 'compilation errors' during the install process (machine runs 64-bit Fedora 8, gcc 4.1 etc. etc). Most of the errors seemed to occur in packages I have little need for at present, but as a courtesy, I
2003 May 29
0
ODE solvers in R (was:The Wrong Choice: Locked in by license restrict...
Dear Colleague: I am glad to hear from you. I was going to contact you and ask if you have notes on the steps involved on how you implemented LSODA. I will gladly take the project on. In addition to dassl, I want to implement ODESSA also. In other words, my project is a "suite" of ode solvers for R. The application of these solvers will be to the study of the distribution of
2006 Nov 21
1
f2c to achieve reentrancy in odesolve?
I am beginning a much-delayed update of odesolve to include several ordinary differential equation solvers from the Livermore package ODEPACK. These are much-used and reliable Fortran codes, and I plan (as I did for lsoda in the current odesolve package) to make as few changes as possible to the Fortran 77 code. However, recently someone wanted to make nested calls to lsoda, which will not work,
2007 Mar 05
2
Linear programming with sparse matrix input format?
Hi. I am aware of three different R packages for linear programming: glpk, linprog, lpSolve. From what I can tell, if there are N variables and M constraints, all these solvers require the full NxM constraint matrix. Some linear solvers I know of (not in R) have a sparse matrix input format. Are there any linear solvers in R that have a sparse matrix input format? (including the