class_docstr: Class for an objective composed of a linear scalarization of metrics.
  
  Attributes:
      metrics: List of metrics.
      weights: Weights for scalarization; default to 1.
class_docstr_tok: ["Class","for","an","objective","composed","of","a","linear","scalarization","of","metrics",".","Attributes",":","metrics",":","List","of","metrics",".","weights",":","Weights","for","scalarization",";","default","to","1","."]
code: def __repr__(self) -> str:
      return "ScalarizedObjective(metric_names={}, weights={}, minimize={})".format(
          [metric.name for metric in self.metrics],
          self.weights,
          self.minimize,
      )
  
imports: from __future__ import annotations
  import warnings
  from logging import Logger
  from typing import Any, Iterable, List, Optional, Tuple
  from ax.core.metric import Metric
  from ax.utils.common.base import SortableBase
  from ax.utils.common.logger import get_logger
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 6 for calling the ScalarizedObjective obj's underlying member method code with example usage: obj.__repr__() and returns: str