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 __init__(self, transform=None):
      if transform is None:
          transform = "mpec.simple_nonlinear"
      self.transform = transform
  
imports: import pyomo.environ
  import pyomo.mpec
label_desc: Use image node_id 1 to create a new ComplementarityReLUActivation object  with example: obj = ComplementarityReLUActivation(transform)