class_docstr: Constraint object for specifying one parameter to be smaller than another.
docstr: Initialize OrderConstraint
  
  Args:
      lower_parameter: Parameter that should have the lower value.
      upper_parameter: Parameter that should have the higher value.
  
  Note:
      The constraint p1 <= p2 can be expressed in matrix notation as
      [1, -1] * [p1, p2]^T <= 0.
code: def __init__(
      self, lower_parameter: Parameter, upper_parameter: Parameter
  ) -> None:
      """Initialize OrderConstraint
  
      Args:
          lower_parameter: Parameter that should have the lower value.
          upper_parameter: Parameter that should have the higher value.
  
      Note:
          The constraint p1 <= p2 can be expressed in matrix notation as
          [1, -1] * [p1, p2]^T <= 0.
      """
      validate_constraint_parameters([lower_parameter, upper_parameter])
  
      self._lower_parameter = lower_parameter
      self._upper_parameter = upper_parameter
      self._bound = 0.0
  
imports: from __future__ import annotations
  from typing import Dict, List, Union
  from ax.core.parameter import ChoiceParameter, FixedParameter, Parameter, RangeParameter
  from ax.core.types import ComparisonOp
  from ax.utils.common.base import SortableBase
label_desc: Use image node_id 1 to create a new OrderConstraint object from inherited base classes: ParameterConstraint with example: obj = OrderConstraint(lower_parameter, upper_parameter)