Displaying 20 results from an estimated 200 matches similar to: "Rdonlp2 package question"
2009 Jul 03
2
Error using the Rdonlp2 Package
Dear experts,
I'm attempting to solve a constrained optimization problem using the Rdonlp2
package.
I created a Lagrange function (L=f(x)-lambda(g(x)-c)), where x is a vector
of 16 parameters. This is what I'm using as objective function in the code
below. In addition, I set bounds on these parameters (par.u and par.l). When
I run the code, I get the error message shown below. Any idea
2004 Dec 28
3
lost association for .RData files
Somehow I have lost the correct file association for .RData files. They
are now associated with a text file editor. When I right click on any
.RData file and try to change the association, R is not listed as a
choice of program. I browse to c:\Program Files\R\rw2001\bin\Rgui.exe
and select that file to open .RData, but Windows does not then place
Rgui.exe in the list of programs to use. I can
2011 Jun 29
1
RWinEdt
I have a problem using RWinEdt 1.8.2 in Windows 7 Professional (64 bit).
System/software info:
R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-mingw32/x64 (64-bit)
WinEdt Build: 20071003 (v. 5.5)
After installing the R package and attempting to load I get:
> library(RWinEdt)
Warning message:
In
2007 Mar 16
2
scatterplot brushing
Is there a package (other than xgobi which requires an X server) that
will do scatterplot brushing? I see a mention in the mail archive of
R-orca by Anthony Rossini but it is not in the current list of
packages.
My OS is Windows XP version 5.1, service pack 2
R version 2.4.1 (2006-12-18)
Thanks
[[alternative HTML version deleted]]
2011 Mar 23
1
< ABOUT Rdonlp2 package >
I can't load Rdonlp2 package. Please support me.
Thanks
------------------------------------
Thien An
Ho Chi Minh city - VIET NAM
[[alternative HTML version deleted]]
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
2005 Jul 20
1
Installation error on Sun Solaris
This is from a colleague who is attempting to install R 2.1.1 on a Sun
machine. I hope this is sufficient information for someone to give us
some pointers.
thanks,
Richard
Our system is a Sunfire 480 running Solaris V2.8
The LD_LIBRARY_PATH is set
to:/usr/local/bin:/usr/lib:/usr/openwin/libL/opt/SUNWspro/libThe
path:/usr/local/lib does not exist on our server.The configure
results in
2008 Aug 19
1
nonlinear constrained optimization
Hi. I need some advises on how to use R to find pi (i is the index) with
the following objective function and constraint:
max (sum i)[ f(ai, bi, pi) * g(ci, di, pi) * Di ]
s.t. (sum i)[ f(ai, bi, pi) * Di * pi] / (sum i)[ f(ai, bi, pi) * Di ] <=
constant
f and g are diffentiable.
So, I am thinking of optim with method = "BFGS"? But wonder how to include
the
2011 Jul 04
2
RWinEdt problem
Hi R Helpers,
I am a long time RWinEdt user and have just acquired a new laptop. I have
installed RWinEdt and things are going smoothly except for one small glitch
- file names are not appearing on the document tabs. When I use WinEdt (as
opposed to RWinEdt), they are appearing. Can anyone offer any advice on
this?
Thanks in advance,
Simon Knapp
OS: windows7
Arch: 64 bit
R version: 2.13.0
2008 May 12
1
Quadratic Constraints
Hi R,
A quick question.... How can I optimize the objective function
constrained to quadratic constraints? Which function of R is useful for
quadratic constraints?
Many Thanks,
Shubha
This e-mail may contain confidential and/or privileged i...{{dropped:13}}
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
2008 Jul 19
2
Non-linearly constrained optimisation
Dear R Users,
I am looking for some guidance on setting up an optimisation in R with
non-linear constraints.
Here is my simple problem:
- I have a function h(inputs) whose value I would like to maximise
- the 'inputs' are subject to lower and upper bounds
- however, I have some further constraints: I would like to constrain the
values for two other separate function f(inputs) and
2004 Mar 25
1
g-inverse question
I am using the ginv function from MASS and have run across this problem
that I do not understand. If I define the matrix A as below, its
g-inverse does not satisfy the Moore-Penrose condition
A %*% ginv(A) %*% A = A.
The matrix A is X'WX in a quadratic regression using some very large
dollar values.
The much simpler matrix B does satisfy the MP condition. Am I doing
something wrong? Is
2009 Mar 27
1
constraint optimization: solving large scale general nonlinear problems
Hi
I need advice regarding constraint optimization with large number of
variables.
I need to solve the following problem
max f(x1,...,xn)
x1,..xn
x1=g1(x1,...,xn)
.
.
xn=gn(x1,...,xn)
I am using Rdonlp2 package which works well until 40 variables in my
case. I need to solve this problem with over 300 variables. In this case
Rdonlp2 is very very slowly. I know
2009 Jul 03
1
Error
Dear Sir,
I installed successfully using the install.packages("Rdonlp2", repos="
http://R-Forge.R-project.org"). I tried on the example which is defined on
the Rdonlp help file ,p <- c(-10,10)par.l <- c(0,0); par.u <-
c(100,100)lin.u <- 1; lin.l <- 1A <- t(c(1,1))fn <- function(x){
x[1]^2+x[2]^2}ret <- donlp2(p, fn, par.lower=par.l, par.upper=par.u, A=A,
2011 Aug 04
1
Tinn-R problem: unable to send code to R
The problem mentioned in the 06 Dec 2010 email below still occurs with
Tinn-R (v.2.3.7.1) when highlighting a string of code, copying to the
clipboard, and trying to send to Rgui via Shift+Ctrl+Q.
I can copy 1 line of code to the clipboard and send it to Rgui with
Shift+CTRL+Q. This fails with 2 or more lines of code, generating the
error:
Error in source(.trPaths[5], echo = TRUE,
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,
2006 Jun 18
1
Post Stratification
Dear WizaRds,
having met some of you in person in Vienna, I think even more fondly
of this community and hope to continue on this route. It was great
talking with you and learning from you. Thank you. I am trying to work
through an artificial example in post stratification. This is my dataset:
library(survey)
age <- data.frame(id=1:8, stratum=rep(
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",