class_docstr: Complementarity-based ReLU activation formulation.
  
  Generates the constraints for the ReLU activation function:
  
  .. math::
  
      \begin{align*}
          y=\max(0,x)
      \end{align*}
  
  The complementarity-based formulation is given by:
  
  .. math::
  
      \begin{align*}
          0\le y \perp (y-x)\ge 0
      \end{align*}
  
  which denotes that:
  
  .. math::
  
      \begin{align*}
          y\ge 0\\
          y(y-x)=0\\
          y-x\ge 0
      \end{align*}
code: def __call__(self, net_block, net, layer_block, layer):
      layer_block._complementarity = mpec.Complementarity(
          layer.output_indexes, rule=_relu_complementarity
      )
      xfrm = pyo.TransformationFactory(self.transform)
      xfrm.apply_to(layer_block)
  
imports: import pyomo.environ
  import pyomo.mpec
label_desc: Use image node_id 2 for calling the ComplementarityReLUActivation obj's underlying member method code with example usage: obj.__call__(net_block, net, layer_block, layer) without return types