1. A method for allocating a set of items to a set of bins, comprising: receiving a specification, the specification describing, in declarative fashion, various characteristics of a particular allocation problem; and using the specification, together with a domain-agnostic resource allocation framework, to determine a solution which allocates the set of items to the set of bins, the specification being associated with at least a utilization function which describes, for a proposed assignment of a particular item to a particular bin, a consumption of resources associated with that proposed assignment, the resource allocation framework being implemented by computing functionality.