Skip to content

Question: max number of objectives for multiobjective optimization #454

Description

@NazyS

Working on multiobjective opt. I discovered that there is max number of objectives for MultiObjectiveOptimizationConfig() class in ax.core.optimization_config which is defined with a variable MAX_OBJECTIVES = 4. It is used only in a single method of above mentioned class _validate_optimization_config() which is raising an error in case of extra objectives.

I would like to ask why it's there and if there are any particular reasons to restrict a number of objectives for such optimization.

P.S. I tried to overcome such restriction by making custom class inheriting MultiObjectiveOptimizationConfig() and overwriting _validate_optimization_config() method and managed to start optimization loop (having 13 objectives), however after few iterations (3-5) such model just hangs without any error messages. So this max objectives number is there for a reason.
Decreasing my objectives to 3-4 within the same model works great.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions