Interior-point and penalty methods