Fixed linear relaxation, wrote initial solve() function