The following example illustrates the effortless weight reduction of a rigid-slab pile design, using the optimization methods described. First, the program will be run, optimizing only the pile sizes. Because pile size is a weighted variable, the optimization is rather straightforward since it does not require the use of the weightless scaling factor, w. Second, the optimization will include both pile size and the weightless variable, batter (weightless because the length will be held constant). For simplicity, all other variables will not be varied.