Re: [R] CRAN package NlcOptim query

2019-01-18 Thread Hans W Borchers
The maintainer of the *NlcOptim* package told me that he has fixed the problem and already submitted a new version to CRAN. Thanks, XianYan, for this prompt reaction. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] CRAN package NlcOptim query

2019-01-15 Thread Hans W Borchers
To be corrected: `Constr_new` with a capital letter; `aeq2` is a list, should be a matrix. As I said last month, you can yourself combine inequality constraints with bounds constraints as follows: myA <- rbind(-Constr_new, diag(-1,numel), diag(1,numel)) myB <- c(-x_than0, rep(0,numel),

Re: [R] CRAN package NlcOptim query

2019-01-14 Thread aveek via R-help
Hi Eric, Yes, in fact I did mention in my 1st email that I am posting this here as the package maintainer did not respond even after a couple of emails. Thanks,Aveek Sent from Yahoo Mail on Android On Mon, Jan 14, 2019 at 2:11 PM, Eric Berger wrote: Aveek,Did you try contacting the

Re: [R] CRAN package NlcOptim query

2019-01-14 Thread aveek via R-help
Hello, Can anyone plz help with the below problem?  Thanks,Aveek Sent from Yahoo Mail on Android On Wed, Dec 12, 2018 at 12:14 PM, aveek wrote: Hello Eric, Thanks for your response and suggestions.  I have used dput() on the R objects - sharing below so that it is possible for anyone

Re: [R] CRAN package NlcOptim query

2019-01-14 Thread Eric Berger
Aveek, Did you try contacting the package maintainer as Hans suggested? On Mon, Jan 14, 2019 at 10:31 AM aveek wrote: > Hello, > > Can anyone plz help with the below problem? > > Thanks, > Aveek > > Sent from Yahoo Mail on Android >

Re: [R] CRAN package NlcOptim query

2018-12-12 Thread Hans W Borchers
This is still not complete: `x_than0` is missing. `Constr_new` is written with a capital 'C'. And aeq2 is a list of column vectors, not a matrix. Setting the tolerance to 0 does not seem to be a good idea. Making aeq2 a matrix and adding `x_than0 <- matrix(c(1, 1))`, then aeq2 <-

Re: [R] CRAN package NlcOptim query

2018-12-12 Thread aveek via R-help
Hello Eric, Thanks for your response and suggestions.  I have used dput() on the R objects - sharing below so that it is possible for anyone to recreate the situation. I have still kept it as a 9*9 matrix but for simplicity we now only have 2 equality and 2 non equality constraints. Thanks

Re: [R] CRAN package NlcOptim query

2018-12-11 Thread Eric Berger
Hi Aveek, 1. This is an "all-text" mailing list. Your attachment did not come through. You can check out the posting guide (see the link at the bottom of your email) and/or use dput(...) on your structures and paste them into your email so that members of the list can try to

[R] CRAN package NlcOptim query

2018-12-11 Thread aveek via R-help
Hi All, I am facing an issue with an optimization problem which I am trying to solve using NlcOptim package in R. I have tried reaching out to the package maintainer but not received any response, hence posting this here.  Below is the code snippet I am using:   #Optimization   obj_F