Dynamic optimization using control vector parameterization with state transition algorithm