add KKT condition error methods