Fixed Field Gradient (FFAG) accelerators are a promising idea for reducing the cost of acceleration for muon accelerators as well as other machines. This paper presents an automated method for designing these machines to certain specifications, and uses that method to find a minimum cost design. The dependence of this minimum cost on various input parameters to the system is given. The impact of the result on an FFAG design for muon acceleration is discussed.