Ranodmized Sketching For Dynamic Optimization And Inexact Adapitive Semismooth Newton Methods