code: def eval_objfn(self):
          
  
          dfd = self.obfn_f()
          reg = self.obfn_reg()
          obj = dfd + reg[0]
          return (obj, dfd) + reg[1:]
docs: Compute components of objective function as well as total
          contribution to objective function.