Patent ID: 8566114

Claim:
A computer program product comprising: a non-transitory computer readable storage medium having computer readable instructions stored thereon, the computer readable instructions executable by a processor to identify a plurality of individuals, each of the individuals having a corresponding social service need that is associated with a priority, the priority represented as a numerical value within a specified range; identify a plurality of programs, each of the programs providing a service to address only one type of social service need, and each of the programs associated with a cost and a maximum number of the individuals to be associated with the program; sort into a first list the individuals in decreasing order of the priority associated with the corresponding social service need such that a first entry of the first list is an individual with a corresponding social service need having a highest priority; sort into a second list the programs in increasing order of the cost associated with each program; and associate, in turn, each individual from the first list, beginning with the individual with the corresponding social service need having the highest priority, with a program from the second list with a lowest cost based on the program meeting a type of the corresponding social service need of the individual and the maximum number not being reached for the program, wherein at least one of the individuals is a healthcare patient, and at least one of the programs is a healthcare program, and the associate, in turn, each individual from the list with a program from the second list is completed in a time period given by a runtime based on a sum of a logarithmic value of a total number of the programs and a logarithmic value of a total number of the individuals.