Abstract-This paper concentrates on three important points: the selection of the suitable direct method used for suboptimal control of the biped robot, the selection of the appropriate nonlinear programming (NLP) algorithm that searches for the global minimum rather than the local minimum, and the effect of different constraints on the energy of the biped robot. To perform the mentioned points, the advantages and disadvantages of the optimal control methods were illustrated. The inverse-dynamics based optimization is preferred because of the ability to convert the original optimal control into algebraic equations which are easy to deal with. The inverse-dynamics-based optimization was classified as spline and the finite difference based optimization. Due to the easy use of the latter, it was used for investigating seven cases with different constraints for 6-DOF biped robot during the single support phase (SSP). Hybrid genetic-sequential quadratic programming (GA-SQP) was used for simulation of the target robot with MATLAB. It can be concluded that more imposed constraints on the biped robot, more energy is needed. In general, more energy can be required in the case of (1) restriction of the swing foot to be level to the ground and (2) reducing the hip height or constraining the hip to move in constant height.Index Terms-Biped robot, dynamic optimization suboptimal control, walking patterns.