Lecture23_linearpenalization_finished