Today in the global market competition, integration issue insupply chain is considered as an important principle. In this study, for thefirst time, different requirements of the customers and different aims of theproducer are simultaneously addressed in an integrated problem of distribution,resource allocation and production scheduling. The problem includes two typesof customers. The first type accepts tardiness in delivery of orders providedthat the producer pays the tardiness penalty; whereas, the second type does notaccept the tardy orders. The purpose is to minimize thesum of delivery costs, resource allocation, tardiness penalty cost, and lostsale cost. To solve the given problem, two mathematical programming models,including a Mixed Integer Non-Linear Programming (MINLP) and a Mixed IntegerLinear Programming (MILP) are proposed. Also, due to NP-hard nature of theproblem, two meta-heuristic algorithms of Adaptive Genetic Algorithm (AGA) andAnt Lion Optimization (ALO) and a heuristic algorithm are proposed. To assessthe merits of the solution methods, small and large-scale tests are designed.The results indicate the superiority of adaptive genetic algorithm incomparison with other algorithms.