Displaying 20 results from an estimated 100 matches similar to: "error with solveLP(linprog) (PR#11721)"
2008 Apr 23
2
HTML help solveLP(linprog) (PR#11250)
Dear R team!
=20
I found in HTML help for function solveLP(linprog) a small mistake. It
says in Description "Minimizes c'x, subject to A x >=3D b and x >=3D 0", but
tests show that there should be A x <=3D b.
=20
Best regards,
=20
Ludek
=20
=20
[[alternative HTML version deleted]]
2012 May 08
1
Translation of Linear minimization probelm from matlab to r
Hi everyone, i?m a new user of R and i?m trying to translate an linear
optimization problem from Matlab into r.
The matlab code is as follow:
options = optimset('Diagnostics','on');
[x fval exitflag] = linprog(f,A,b,Aeq,beq,lb,ub,[],options);
exitflag
fval
x=round(x);
Where:
f = Linear objective function vector (vector of 45,rows)
A = Matrix for linear inequality
2009 Oct 23
1
help using R's linprog for LP
Hi,
I am using R in one of my courses. I am trying to use R's linprog
package to solve to formulate 2-class classification problem as Linear
programming problem.
For my formulation, I need to set to "cvec" to all 0s.
I know the points are linearly separable so an optimal solution "x"
does exist, which satisfies all the constraints.
But given the constraints and setting
2004 Jun 15
1
any linear programming routine in R
Dear all
is there any linear programming routine available for R?
if not, can you suggest any alternatives? not need to be very powerful, I
get only a samll problem to resolve.
many thanks
yong
2012 Jan 13
1
Portfolio Optimization
Hi,
I'm an R newbie and I've been struggling with a optimization problem for
the past couple of days now.
Here's the problem - I have a matrix of expected payouts from different
stock option strategies. Each column in my matrix represents a different
stock and each row represents the return to the strategy given a certain
market move. So the rows are not a time series of percentage
2008 May 28
2
Linear Programming.
An embedded and charset-unspecified text was scrubbed...
Name: n?o dispon?vel
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080528/96325940/attachment.pl>
2004 Sep 16
3
newbie needs help using R as solver
Greetings
I'm a total newbie in R and I'm trying to make a comparisson of Excel
and R in the fields of:
- optimisation modeling (using solver)
- decision trees
- simulation modeling
as described in Winston, Wayne L.: Practical Management Science.
for optimisation modeling in Excel I would normaly use solver. In R
however I can't seem to be able to find the solution. I've
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
2006 May 05
1
A question about linear optimizaton
Dear all,
I am trying to find a solution satisfying the below equations
in R.
Set up the problem
9 X1+ X2 + X3 = 2
X1+ X2 + X3 = 1
which is subjected to
0 < X1 < X2 < X3 < 2.
I have downloaded the packages \'linprog\' and \'lpSolve\' but can
not see how to solve the question.
Thank you for your help.
With
2008 Oct 22
2
suboptimal lp solutions
Hi list,
I want to find the total maximum resources I can spend given a set
allocation proportion and some simple budget constraints.
However, I get suboptimal results via lp and friends (i.e. lpSolve and
simplex in the linprog and boot) .
For example:
library(lpSolve)
proportions = c( 0.46, 0.28, 0.26)
constraints = c( 352, 75, 171)
lp(objective.in = proportions,
const.mat =
2009 Jul 21
1
strange bug? with R CMD check
Hello,
I am trying to get a package to pass R CMD check on an iMac running
Mac OS X. When the package is named safeBinaryRegression I get the
following warning from R CMD check:
* checking whether the name space can be loaded with stated
dependencies ... WARNING
Error in dyn.load(file, DLLpath = DLLpath, ...) :
function 'make_lp' not provided by package 'lpSolveAPI'
2003 Sep 26
2
checking generic/method consistency
Hi,
I wrote a package for linear programming and want to submit it to CRAN.
Since the package 'quadprog' has a function with the name 'solve.QP' to
perform Quadratic Programming, I named my (main) function 'solve.LP'.
However 'R CMD check' gives one warning:
* checking generic/method consistency ... WARNING
solve:
function(a, b, ...)
solve.LP:
2007 Mar 26
1
Problem in loading all packages all at once
Hi All
Please see the Rprofile file which i have modified as follows and after
that when I start R then I see that R says to me "TRUE" for all the
packages implying that all loaded at once.
But when i try to use commands as simple as help("lm"), it doesnt work nor
any of the menu "Packages" is not working.
Although the regression using lm ( Y ~ X ) is working
2008 Jul 24
1
Coconut benchmark for R?
Hello All,
Could anybody point me out any port of "Global Optimization Test
Problems" OR "Constraint Satisfaction Test Problems" part of Coconut[%]
benchmark or other such similar benchmarks for R.
[%] Coconut benchmark:
http://www.mat.univie.ac.at/users/neum/public_html/glopt/coconut/Benchmark/Benchmark.html
Cheers!
Isa
[[alternative HTML version
2007 Dec 22
1
using solve.qp without a quadratic term
I was playing around with a simple example using solve.qp ( function is in the quadprog package ) and the code is below. ( I'm not even sure there if there is a reasonable solution because I made the problem up ).
But, when I try to use solve.QP to solve it, I get the error that D in the quadratic function is not positive
definite. This is because Dmat is zero
because I don't have a
2014 Dec 17
2
optimización - resolver sistema - general
Hola a todos,
Simplemente comentar que me tengo encontrado con muchos problemas
de optimización. Mi recomendación general, en el caso multidimensional y
si el tiempo de computación es importante, sería buscar un algoritmo
diseñado para el tipo de problema (evitar los algoritmos más generales
tipo optim si puede haber problemas de mínimos locales). Algunos casos
que tengo resuelto con R
2006 Jul 10
1
:revert => false for Droppables
Right now I am using page.remove and page.insert for some complex nested
moves in RJS. I have my draggables set to revert, but they also revert when
they hit a droppable.
Meaning, the draggable will start reverting for part of a second before the
page.remove kicks in. Is there a way to specify :revert => false for the
drop_receiving_element, or something else to that affect?
--
Respectfully:
2008 May 27
2
ForkCDR
Hello, CDR fans!
I'm looking at some issues brought forward over time:
12726/10668: someone wants me to revert the changes I made via
bug 10668, last Sept; (that's
they are messing him up. And I didn't do the change
suggested in ForkCDR, for fear of lousing up
folks depending on current behavior. Which probably sparked:
11721 :
2016 Jun 15
0
[Announce] Samba 4.3.10 Available for Download
======================================================
"There's hair in this tuna fish...
I like it!"
ALF
======================================================
Release Announcements
---------------------
This is the latest stable release of Samba 4.3.
Changes since 4.3.9:
--------------------
o Jeremy Allison <jra at samba.org>
* BUG 10618: Do
2016 Jun 15
0
[Announce] Samba 4.3.10 Available for Download
======================================================
"There's hair in this tuna fish...
I like it!"
ALF
======================================================
Release Announcements
---------------------
This is the latest stable release of Samba 4.3.
Changes since 4.3.9:
--------------------
o Jeremy Allison <jra at samba.org>
* BUG 10618: Do