static CB_FUNC(int) function_evaluation(void *id, int n, double *z, double *f) { int err; err = problem.f_eval(n, z, f); return err; }