opentuner icon indicating copy to clipboard operation
opentuner copied to clipboard

Set Max Function Evaluation?

Open TianningGao opened this issue 11 months ago • 4 comments

Assume that I'm optimizing the Rosenbrock function, is there a way to let OpenTuner stop after a pre-defined number of function evaluations?

Another questions is, if I have an initial dataset of the Rosenbrock function, how to pass it into OpenTuner?

TianningGao avatar Mar 23 '24 22:03 TianningGao

From --help

Assume that I'm optimizing the Rosenbrock function, is there a way to let OpenTuner stop after a pre-defined number of function evaluations?

  --test-limit TEST_LIMIT
                        stop tuning after given tests count

Another questions is, if I have an initial dataset of the Rosenbrock function, how to pass it into OpenTuner?

  --seed-configuration FILENAME
                        Start search at a given configuration. Can be specified multiple times. Configurations are
                        loaded with ConfigurationManipulator.load_from_file() and file format is detected from
                        extension.

jansel avatar Mar 24 '24 04:03 jansel

Thank you for your responding! Also, is there any example of the seed configuration file? I need to know the data format in that file.

TianningGao avatar Mar 25 '24 21:03 TianningGao

It is the same json file format that is output for the final config found.

jansel avatar Mar 25 '24 22:03 jansel

Got it. Thank you so much!

TianningGao avatar Mar 30 '24 01:03 TianningGao