jaberg/hyperopt — Issue #47: MongoExperiment.min_queue_len behavior
Author: yamins81
Created: 2011-10-27 19:29:16+00:00
State: open

In MongoExperiment.run there's this block of code:

while n_queued < N and self.queue_len() < self.min_queue_len:
[... submit jobs ....]

@jaberg, could you explain the intention of requiring self.queue_len() < self.min_queue_len? By default self.min_queue_len = 1, which means that (since the job submission is slower than job execution) the while condition is false after the first job submission, so only one job gets submitted.

Is it your intention for the user to set self.min_queue_len much larger somehow? Or is this a bug? Or what?