Re: [R] How to Optimize two functions together in R
Use defaul values initially, to see if you got reasonable results. See here for the details of nsga2 http://dx.doi.org/10.1109/4235.996017 On 19 May 2014 16:42, Mingxuan Han wrote: > I try to use NSGAII function in the mco but I am kind of confusing about the > numbers of input and output dimension in the argument. Could you explain a > little about this? Thank you. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/How-to-Optimize-two-functions-together-in-R-tp4690654p4690832.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to Optimize two functions together in R
I try to use NSGAII function in the mco but I am kind of confusing about the numbers of input and output dimension in the argument. Could you explain a little about this? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/How-to-Optimize-two-functions-together-in-R-tp4690654p4690832.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to Optimize two functions together in R
This deals with the multi-objective optimisation. Try MCO and emoa packages. http://stats.stackexchange.com/questions/77580/optimization-of-multiple-objective-functions-with-constraints On 15 May 2014 17:47, Mingxuan Han wrote: > I am trying to minimize two functions with same set of parameter(x,y). > Currently I can only use optim() to minimize the each function one by one. > Is there any solution I can use to optimize two functions with same set of > (X,Y) together. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/How-to-Optimize-two-functions-together-in-R-tp4690654.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to Optimize two functions together in R
Try to minimize the sum of those two functions. André de Boer > Op 15 mei 2014 om 17:47 heeft Mingxuan Han het volgende > geschreven: > > I am trying to minimize two functions with same set of parameter(x,y). > Currently I can only use optim() to minimize the each function one by one. > Is there any solution I can use to optimize two functions with same set of > (X,Y) together. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/How-to-Optimize-two-functions-together-in-R-tp4690654.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.