Displaying 20 results from an estimated 100 matches similar to: "Linear programming problem, RGPLK - "no feasible solution"."
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
2010 Jun 09
1
Rglpk
Hi list,
in the Rglpk_solve_LP function (::Rglpk),
on line 26, the function calls a function
as.glp_bounds() that i cannot access.
i'm trying to alter the Rglpk_solve_LP function
to add a line to retrieve column/row dual values.
everytime i change the slightest line of code inside
Rglpk_solve_LP() [to even add a print]
i get a
': could not find function "as.glp_bounds"'
2009 Jun 11
2
Optimization Question
Hi All
Apologies if this is not the correct list for this question.
The Rglpk package offers the following example in its documentation
library(Rglpk)
## Simple mixed integer linear program.
## maximize: 3 x_1 + 1 x_2 + 3 x_3
## subject to: -1 x_1 + 2 x_2 + x_3 <= 4
## 4 x_2 - 3 x_3 <= 2
## x_1 - 3 x_2 + 2 x_3 <= 3
## x_1, x_3 are non-negative integers
## x_2 is a non-negative real
2009 Sep 22
2
Semi continous variable- define bounds using lpsolve
How to define bounds for a semi continous variable in lp_solve.
Min 5x1 +9x2 +7.15x3 +0.1x4
subject to
x1+x2+x3+x4=6.7
x1+x4 <= 6.5
And x3 can be 0 or greater than 3.6
hence x3 is a semi continous variable
how to define bounds as well as semicontinous function because using
set.semicont and set. bound simantaneously doesn't seem to work.Thanks in
advance for the help
--
View this
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
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 Sep 07
1
'initial value not feasible' in constrOptim
Dear friends.
I am using function
constrOptim(c(0.5,0.3,0.5), fit.error, fit.error.grr, ui=-1*ui,ci=-1*ci)
and I am confronted with error message "initial value not feasible"
I plug in the initial value of (0.5,0.3,0.5) to function fit.error and
fit.error.grr and have pretty reasonable result. I inequality "ui %*% theta
- ci >= 0" as suggested in the R manual and it is
2013 Aug 22
1
virtio console support feasible?
Hi,
I boot lots of headless virtual machines through Syslinux, and it
bothers me that serial emulation must be turned on for the sake of
bootloader interaction only. Would it be feasible to add virtio console
support to Syslinux besides VGA and serial console? Some PCI utility
functions are certainly there, but is the current architecture up to
early PCI I/O? Or is this something that the BIOS
2008 Aug 06
1
Numerical optimisation and "non-feasible" regions
Dear list,
I'm currently writing a C code to compute the (composite) likelihood -
well this is done but not really robust. The C code is wrapped in an R
one which call the optimizer routine - optim or nlm. However, the
fitting procedure is far from being robust as the parameter space
depends on the parameter - I have a covariance matrix that should be a
valid one for example.
Currently,
2004 May 30
0
Application of tree() to get alternative confidence bounds - is this feasible?
> Hello
>
> I'm currently using Monte Carlo techniques to estimate prices (variable not static) from the following type of data:
>
> << OLE Object: Microsoft Excel Worksheet >>
>
>
>
> Each row is a record from group A and the cells in all but the last column are the volumes of 'widgets' in the record. The last column is the cost of all
2005 Nov 17
0
Is it feasible with R?
My data are (for one experiment):
3 Types of plant (1,2,3)
4 Species per Type (ex:for type 1(a,b,c,d), for type 2(e,f,g,h) and
for type 3(i,j,k,l)
8 Repetitions of each Species
3 Stages (10, 20, 30)
2 Measures per Stages, for the stages 20 and 30 (ex: for Stage 10(C),
for Stage 20 (A and B) and for Stage 30 (A and B)
3 Types x 4 Species(Type) x 8 Repetitions x
2010 Mar 17
1
constrOptim - error: initial value not feasible
Hello at all,
working with a dataset I try to optimize a non-linear function with
constraint.
test<-read.csv2("C:/Users/Herb/Desktop/Opti/NORM.csv")
fkt<- function(x){
a<-c(0)
s<-c(0)
#Minimizing square error
for(j in 1:107){
s<-(test[j,2] - (x[1] * test[j,3]) - (x[2] * test[j,4]) - (x[3]*test[j,5]) -
(x[4]*test[j,6]) - (x[5]*test[j,7]))^2
a<- a+s}
a<-as.double(a)
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 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
2015 Oct 01
2
Tinc + OSPF - is it feasible?
Hello,
Please tell me if it's possible to use tinc together with OSPF (instead of
static routes in LAN). By OSPF I mean Quagga's GNU/Linux daemon.
Namely, I have a group of LANs (private 192.168.x.0/24 each).
Each LAN has a GNU/Linux default gateway, 192.168.x.1, that also connects
to the Internet via a public IP address (does NAT and firewall for the LAN
"behind" it).
tinc
2005 Oct 23
2
Is it feasible to cross-build compat5x binary?
Hi folks,
I think we need to update compat5x binary to fix FreeBSD-SA-05:21.openssl,
but will the binaries built by ``make universe'' be identical with actual
build on Alpha, Sparc64, etc? (Yes, I'm volunteering to do the work iff
they are identical ;-)
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
2004 Jul 08
9
Is Linux based Router feasible
Hi,
I''ve a local LAN consisting of about 150 machines. I''m using a Linux
machine as the gateway machine which inturn connects to two different
ISPs. My question is can a Linux based machine match the performance of
a hardware based routers provided by Cisco,... OR is my decision to go
for a Linux based solution is a wrong one?.
Is there so much difference between these
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