improve error message when a solution could not be found for given demands