maximum revenue with the advertising and productionconstraints