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.
Try to minimize the sum of those two functions. Andr? de Boer> Op 15 mei 2014 om 17:47 heeft Mingxuan Han <han241 at purdue.edu> 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 at 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.
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 <han241 at purdue.edu> 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 at 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.