1. A method for saving energy and reducing cycle time of a complex operation by using optimal robotic joint configurations, the method performed by a data processing system and comprising: receiving inputs including the complex operation; generating a plurality of joint configurations of a simulated robot for each one of a plurality of task locations based on the inputs of the complex operation; calculating an edge rating for each of a plurality of robotic movements edges, wherein a robotic movement edge accounts for a robotic movement between joint configurations of consecutive task locations; calculating a plurality of candidate ratings for each of a plurality of candidate configuration paths, wherein a candidate rating is a summation of edge ratings of robotic movement edges for a candidate configuration path; determining an optimal configuration path based on the candidate configuration path with an optimal rating, wherein the optimal rating is determined by the lowest candidate rating; and returning the optimal configuration path.