Skip to content

Commit

Permalink
Removing printf statemets after debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
FMGS666 committed Oct 18, 2023
1 parent d8dd1a5 commit 7d9f48f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions code-experiments/src/f_ellipsoid.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ static coco_problem_t *f_ellipsoid_rotated_bbob_problem_allocate(const size_t fu
double *b = coco_allocate_vector(dimension);
double **rot1;

double conditioning = args -> f_ellipsoid_args -> conditioning;/*
printf("f_ellipsoid.c:conditioning=%f\n", conditioning);*/
double conditioning = args -> f_ellipsoid_args -> conditioning;
xopt = coco_allocate_vector(dimension);
bbob2009_compute_xopt(xopt, rseed, dimension);
fopt = bbob2009_compute_fopt(function, instance);
Expand Down
3 changes: 1 addition & 2 deletions code-experiments/src/f_step_ellipsoid.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ static coco_problem_t *f_step_ellipsoid_bbob_problem_allocate(const size_t funct
data->xopt = coco_allocate_vector(dimension);
data->rot1 = bbob2009_allocate_matrix(dimension, dimension);
data->rot2 = bbob2009_allocate_matrix(dimension, dimension);
double penalty_scale = args->f_step_ellipsoid_args->penalty_scale;/*
printf("f_step_ellipsoid.c:penalty_scale=%f\n", penalty_scale);*/
double penalty_scale = args->f_step_ellipsoid_args->penalty_scale;
data->fopt = bbob2009_compute_fopt(function, instance);
data->penalty_scale = penalty_scale;
bbob2009_compute_xopt(data->xopt, rseed, dimension);
Expand Down
5 changes: 1 addition & 4 deletions code-experiments/src/suite_bbob.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ static coco_problem_t *coco_get_bbob_problem(const size_t function,
args->f_step_ellipsoid_args->penalty_scale = 1.0;
args->f_griewank_rosenbrock_args ->facftrue = 10.0;
args->f_gallagher_args->penalty_scale = 1.0;
/*
printf("\n\nsuite_bbob.c:args->f_ellipsoid_args->conditioning=%f\n",args->f_ellipsoid_args->conditioning );
printf("suite_bbob.c:args->f_step_ellipsoid_args->penalty_scale=%f\n", args->f_step_ellipsoid_args->penalty_scale);
*/

const char *problem_id_template = "bbob_f%03lu_i%02lu_d%02lu";
const char *problem_name_template = "BBOB suite problem f%lu instance %lu in %luD";

Expand Down

0 comments on commit 7d9f48f

Please sign in to comment.