mck-/Open-VRP — Issue #13: define-problem macro to accept single values AND lists
Author: mck-
Created: 2012-02-12 03:28:04+00:00
State: open
Labels: bug, feature

Currently, all key attributes only accept lists (that are of equal length to either node-coords or fleet-size). e.g. `:capacities` has to be a list of equal length to fleet-size, with each element setting each vehicle's capacity. Same applies for `:speeds`.

It'd be nice if you could also provide a single value, which would create a homogenous fleet.

8fac15c2836 was an attempt that failed in lexical environments.

Fiddling with nested backquotes for a few days, I decided to ask for [help](http://stackoverflow.com/questions/9221815/common-lisp-how-to-build-a-loop-expression-with-a-macro). Though the answer was helpful, it couldn't apply cleanly to this rather large macro.

Anyone up for the challenge?