Applying effort constraints on adaptive feedforward control using the active set method