.  *  * @return a boolean value indicating successful completion of the optimization algorithm.  */  bool pso_dv(Vec_t& init_out_vals,         std::function<double (const Vec_t& vals_inp, Vec_t* grad_out, void* opt_data)> opt_objfn,         void* opt_data