- Use bayesopt as the optimizer in a procedure such as described in Generate and Plot Pareto Front.
- Use a multiobjective solver such as gamultiobj or paretosearch from Global Optimization Toolbox.
Multi objective Bayesopt in MATLAB
5 次查看(过去 30 天)
显示 更早的评论
Hello,
How can I use the BayesOpt of MATLAB for optimizing a multi objective problem? I mean when I have multiple cost functions rather than only one.
If it is not possible in the default version of BayesOpt of MATLAB, can I have some additional codes for this aim?
Thanks in advance
0 个评论
回答(1 个)
Alan Weiss
2021-5-5
There is no provision for using bayesopt for multiobjective problems. You have several choices:
Alan Weiss
MATLAB mathematical toolbox documentation
4 个评论
xu supeng
2021-7-14
Thanks for your quikc reply. It works, but I still have some questions to ask you. First, it seems the program calculate the objfun(1) and objfun(2) seperately and then use the weight to define an objective mo( = objective(1) * alpha + objective(2) * (1-alpha) ) that the bayesopt to optimize. My question is, whether this kind of method too simple? or is this resonable (common) in find the pareto Front?
My second question is if there are three or three more objectives, how to define the mo ? and how to find the pareto Front ? (Just curious)
Alan Weiss
2021-7-14
You are correct, I was just doing a sweep over alpha with objective mo = objective(1) * alpha + objective(2) * (1-alpha). If you have more objectives, you can have more nonnegative multipliers, and sweep over them with the sum of the multipliers equal to 1.
This is not always the best way to solve multiobjective problems, it might miss some things, but it enables you to get some sort of results using a single-objective minimizer.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!