Azzera filtri
Azzera filtri

Multi objective Bayesopt in MATLAB

13 visualizzazioni (ultimi 30 giorni)
Aep
Aep il 4 Mag 2021
Commentato: Alan Weiss il 14 Lug 2021
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

Risposte (1)

Alan Weiss
Alan Weiss il 5 Mag 2021
There is no provision for using bayesopt for multiobjective problems. You have several choices:
Alan Weiss
MATLAB mathematical toolbox documentation
  4 Commenti
xu supeng
xu supeng il 14 Lug 2021
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
Alan Weiss il 14 Lug 2021
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

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by