to init the solution before solving