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.
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.