Displaying 20 results from an estimated 20000 matches similar to: "Mixed Integer Non Linear Programming."
2005 Jun 22
0
The GNU Linear Programming Kit for R
The R interface to the GNU Linear Programming Kit (GLPK) is now available
on CRAN.
The R interface functions are almost identical to the native GLPK C API
making it easy to move code and concepts between R and C.
The GLPK package is intended for solving large-scale linear programming
(LP), mixed integer linear programming (MIP), and other related problems.
The GLPK library includes the
2005 Jun 22
0
The GNU Linear Programming Kit for R
The R interface to the GNU Linear Programming Kit (GLPK) is now available
on CRAN.
The R interface functions are almost identical to the native GLPK C API
making it easy to move code and concepts between R and C.
The GLPK package is intended for solving large-scale linear programming
(LP), mixed integer linear programming (MIP), and other related problems.
The GLPK library includes the
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
2011 Oct 03
1
minimisation problem, two setups (nonlinear with equality constraints/linear programming with mixed constraints)
Dear All,
Thank you for the replies to my first thread here: http://r.789695.n4.nabble.com/global-optimisation-with-inequality-constraints-td3799258.html. So far the best result is achieved via a penalised objective function. This was suggested by someone on this list privately. I am still looking into some of the options mentioned in the original thread, but I have been advised that there may
2011 Oct 10
1
Linear programming problem, RGPLK - "no feasible solution".
In my post at https://stat.ethz.ch/pipermail/r-help/2011-October/292019.html I included an undefined term "ej". The problem code should be as follows. It seems like a simple linear programming problem, but for some reason my code is not finding the solution.
obj <- c(rep(0,3),1)
col1 <-c(1,0,0,1,0,0,1,-2.330078923,0)
col2 <-c(0,1,0,0,1,0,1,-2.057855981,0)
col3
2009 Mar 27
1
asking advice for Integer Programming packages
Dear everyone,
I don't know much about Integer Programming but am afraid I am facing
a problem that can only be solved via Integer Programming. I was
wondering if those of you who have experience with it could recommend
an R package.
I found the following R packages:
Rglpk
glpk
lpSolve
lpSolveAPI
Are there any others?
Are some of them easier to use than others for a beginner?
Any advice
2010 Feb 17
2
non-linear contrained optimization
All,
I have searched the previous help boards and discovered the problem
with Rdonlp2 - Specifically, its non-availability. I thought that this
was my solution, but perhaps there is a better way that you all could
help me with. I imagine that this problem is trivial to people such
as the experts on this mailing list.
I am trying to solve this problem over and over again in a simulation:
2009 Mar 17
3
Non-Linear Optimization - Query
Dear All,
I couple of weeks ago, I’ve asked for a package recommendation for nonlinear
optimization. In my problem I have a fairly complicated non-linear objective
function subject to one non-linear equality constrain.
I’ve been suggested to use the *Rdonlp2* package, but I did not get any
results after running the program for 5 hrs. Is it normal to run this type
of programs for hours? Also,
2010 Sep 23
1
non-linear integer optimization?
Are there any packages that do non-linear integer otimization? Looked at
lpSolve but i'm pretty sure it only works with linear programming and not
non-linear, tried "L-BFGS-B" optim after flooring all my params, works
somewhat but seems really inefficient. Anything else I should look at?
--
View this message in context:
2007 Nov 14
2
convex optimization package for R, specifically semidefinite programming
Recently, a package for convex optimization was announced for Python,
based upon the LP solver GLPK, the SDP solver
in DSDP5, and the LP and QP solvers in MOSEK. I'm aware GLPK is
available for R, but wondered if anyone had good
packages for convex optimization along these lines for R.
TIA.
2007 Mar 21
1
Integer Optimization
Hello everybody,
I am looking for a function (or package) which can solve a integer
optimization problem. I have found the glpk package but I don't known
very well how to use it.
Someone has another solution ?
thx
2006 Dec 05
1
double precision
Hi,
I am attempting to query a data frame from a mysql database.
One of the variables is a unique identification number ("numeric") 18 digits
long.
I am struggling to retrieve this variable exactly without any rounding.
The function I am using is sqlQuery(), with an ODBC connection.
Querying directly results in the double being rounded towards the end (eg
6527600583317876352 instead of
2012 Oct 02
1
glpk package missing?
I have a piece of code (from Xie et al. 2009 Autophagy 5:217) that runs
in R and requires the glpk package. A year or so ago, I was able to
download and install the glpk package directly from insider the R
program (for Windows), and everything worked fine. Now I have installed
R for Windows on a new computer, and I cannot find the glpk package on
the list of available packages on my local
2010 Sep 11
1
nonlinear programming package
Hello R users,
Can anyone recommend me any package that can be used to solve linear programming subject to nonlinear equality/inequality constraints. Rdonlp2 is now unavailable due to licensing issue.
Thanks,
Xiaoxi
[[alternative HTML version deleted]]
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,
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",
2008 Nov 28
1
Regarding posting a package to R-forge (with one of the dependent packages not in CRAN)
Hi Guys,
Recently I wrote a package for dealing with Markov Switching Regressions in
R and it is included in the Rmetrics project.
https://r-forge.r-project.org/projects/rmetrics/
Everything works fine when I use it in computer.
But, the package depends on the use of optimization functions from the
package Rdonlp2, which is not available on CRAN.
So, if I have Rdonlp2 in my laptop (or any
2009 Sep 10
1
Non-GPL packages for R
Subject: Non-GPL packages for R
Packages that are not licensed in a way that permits re-distribution on
CRAN are frequently a source of comment and concern on R-help and other
lists. A good example of this problem is the Rdonlp2 package that has
caused a lot of annoyance for a number of optimization users in R. They
are also an issue for efforts like Dirk Eddelbuettel's cran2deb.
There
2013 Jul 02
0
Optimización MINLP
Muy buenas,
Tengo la siguiente duda/problema,
He optimizado con éxito un problema de este tipo:
\sum f(x_i)
donde f es una curva exponencial (función no lineal)
sujeto a:
a_i < x_i < b_i
y
\sum f(x_i) < Presupuesto
Vamos, es repartir un presupuesto forzando a que inviertas como poco a_i y
como mucho b_i para cada i
Esto lo hecho correctamente usando el paquete:
2007 Jun 10
0
Rdonlp2 - an extension library for constrained optimization
Ryuichi Tamura wrote:
Please can you put your package on the CRAN server ?
Many thanks
Diethelm Wuertz
> Hello R-list,
>
> I have released an update version (0.3-1) of Rdonlp2.
> Some (fatal) bugs which may kill interpreter should be fixed.
>
> In addition, user-visible changes are:
> * *.mes, *.pro files are not created if name=NULL(this is default) in donlp2().
> * use