master/optcomp: hyperplane method