A strong variational algorithm for delay systems