Control Under Energy And Time Constraints