Abstract Summary
Determining weights among terms in the cost function for walking was formulated as a bilevel optimization problem (BLO). The direct collocation (DC) method effectively solved the lower level problem, making it practical to solve the BLO using a nested evolutionary approach.