On May 28, 7:41 pm, blaine <[EMAIL PROTECTED]> wrote:
> Hey everyone,
> Just a friendly question about an efficient way to do this.
Friendly advance reminder: in many optimization problems, the
objective function is far more expensive to calculate than the
optimizing procedure. Your time is usu
On May 28, 4:41 pm, blaine <[EMAIL PROTECTED]> wrote:
> 1. Whats a good way to get the keys? I'm using a loop with
> random.choice() at the moment.
Why not keep a separate list of keys and use random.sample()?
Raymond
--
http://mail.python.org/mailman/listinfo/python-list