Design of an optimal retaining wall with anchorage