class_docstr: The method base class for graph generation. To write a new graph generation method, create a new class
  inheriting from this class and implement the functions.
docstr: Running training for constrained optimization task.
  
  Args:
      loader: The data loader for loading training samples.
docstr_tok: ["Running","training","for","constrained","optimization","task",".","Args",":","loader",":","The","data","loader","for","loading","training","samples","."]
code: def train_const_prop_opt(self, loader, *args, **kwargs):
      r"""
      Running training for constrained optimization task.
  
      Args:
          loader: The data loader for loading training samples.
      """
  
      raise NotImplementedError(
          "The function train_const_prop_opt is not implemented!"
      )
  
label_desc: Use image node_id 5 for calling the Generator obj's underlying member method code with example usage: obj.train_const_prop_opt(loader) without return types