On Representing LPs and MILPs by Graph Neural Networks