Laid the foundations to allow implementing lagrangian relaxation