State observation by on-line minimization | Synapse