Skip to content

Select test questions #53

@Hhh280zi

Description

@Hhh280zi

suite_name = 'bbob';
observer_name = 'bbob';
observer_options = strcat('result_folder: RS_on_', ...
suite_name, ...
[' algorithm_name: RS '...
' algorithm_info: A_simple_random_search ']);

% initialize suite and observer with default options,
% to change the default, see
% http://numbbo.github.io/coco-doc/C/#suite-parameters and
% http://numbbo.github.io/coco-doc/C/#observer-parameters
% for details.
suite = cocoSuite(suite_name, '', '');
observer = cocoObserver(observer_name, observer_options);

suite = cocoSuite(suite_name, '', '');
Here I just want to select the F2 test function in the bbob test problem for testing. How should I write it?

I tried the following method, but it still runs from F1
suite = cocoSuite(suite_name, 'function_indices: 2 ', '');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions