Direct optimal control and costate estimation using least square method | IEEE Conference Publication | IEEE Xplore