Text this: Optimization methods for resource allocation;