Relaxation dynamics of complex system: Exact solution of hysteresis in one dimensional antiferromagnetic random field using model at zero temperature