Reactive optimal motion planning to anywhere in the presence of moving obstacles | Synapse