Global memory schemes for dynamic optimization