fix a bug in read data, add solve_batch in lrl2. Now lrl1 still has bug, and we should focus on lrl2 first, and then move to lrl1