In this paper, an algorithm for the computation of maximum heat transport for grooved heat pipes was presented. The algorithm embodies not only the thermal mathematical model and the container constraint but also the manufacturing limitations imposed by the current state of the art of extrusion and electrical discharge machining technology. The algorithm was implemented to a computer code and its predictive performance was demonstrated for varying groove parameters such as shape, width, depth, angle, diameter with different working fluids and at different operating temperatures. The heat pipes with optimized performances were then used in the analysis of a heat removal problem that may be encountered in telecommunication satellites. (C) 2017 Elsevier Ltd. All rights reserved.