Closed Saethox closed 1 year ago
It would be easy to have new option minExperiments
and just make sure maxExperiments = max(minimumBudget, minExperiments)
. Will this do what you want?
I don't understand what "some new parameter > 1" would do. The function that computes the minimumBudget
is here:
I could export it, but the values of minSurvival
and boundEstimate
would need to be provided, which complicates things for users, so I don't think this is a good idea.
It would be easy to have new option
minExperiments
and just make suremaxExperiments = max(minimumBudget, minExperiments)
. Will this do what you want?
A minExperiments
parameter would also solve my problem.
I don't understand what "some new parameter > 1" would do.
I forgot some parts there. By "some new parameter > 1" I mean some parameter x
where maxExperiments
is then calculated as minimumBudget * x
, but your minExperiments
proposal works just as well.
I could export it, but the values of
minSurvival
andboundEstimate
would need to be provided, which complicates things for users, so I don't think this is a good idea.
A minimumBudget(scenario, parameters)
has all the information to calculate minSurvival
and boundEstimate
internally and could call the private computeMinimumBudget
, right? But something like minExperiments
seems like a better idea.
I just committed a possible fix. Please check whether it works for you and reopen otherwise.
I'm using
irace
to tune heuristics generated by a hyper-heuristic before they are evaluated using the best parameters found byirace
. These heuristics have wildly different parameter spaces, which are dynamically generated, so I don't know their exact complexity beforehand.So far, so good.
My problem is that different parameter spaces also result in pretty significant ranges of the
minimumBudget
calculated byirace
. If I choose the value formaxExperiments
too low,irace
will abort, and if I choose it too high, I will waste computational budget on my low complexity parameter spaces.It would be nice not to need to specify
maxExperiments
explicitly, but set it automatically based onminimumBudget
and some new parameter > 1. Alternatively, a function to calculate theminimumBudget
explicitly given ascenario
andparameters
would be nice. I would rather avoid having to re-implement theminimumBudget
calculation, ifirace
already has all of this information internally.