Invariant finite-difference schemes with conservation laws preservation for one-dimensional MHD equations