Pre-Training Agents For Design Optimization And Control