Pavement design optimisation is an active area of research. Due to a large number of parameters, such as thickness of layers, material properties, climatic conditions, affecting pavement performance, it is usually not feasible to determine an optimal design using a trial and error approach. In order to make the design calculation computationally tractable, the process can be posed as an optimisation problem. Previous investigations in this vein have suffered from the limitations of a specific pavement analysis tool, specific design goals and specific optimisation algorithms. This paper presents a general computational framework, combining Mechanistic-Empirical Pavement Design Guide and Design Analysis Kit for Optimisation and Terascale Applications, to overcome these shortcomings. The framework's promise is demonstrated through its application to a minimum cost pavement design problem using both direct and surrogate-based (SBO) optimisation approaches. The SBO formulation is shown to achieve significant savings in required computational time with a minimal loss of accuracy in the determined optimal design.