@@ -557,27 +557,6 @@ void getVariableKktFailures(const double primal_feasibility_tolerance,
557557 std::pair<double , double > infeasibility_residual =
558558 infeasibility (&lower, &value, &upper, &primal_feasibility_tolerance);
559559 primal_infeasibility = infeasibility_residual.second ;
560- bool infeasibility_ok = primal_infeasibility == infeasibility_residual.second ;
561- if (!infeasibility_ok) {
562- printf (" getVariableKktFailures: pr_ifs = %11.4g; ifs.infeasibility = %11.4g; dl = %11.4g\n " ,
563- primal_infeasibility, infeasibility_residual.second ,
564- primal_infeasibility- infeasibility_residual.second );
565- assert (infeasibility_ok);
566- }
567- bool residual_error = primal_infeasibility > primal_feasibility_tolerance &&
568- infeasibility_residual.first == 0 ;
569- if (residual_error) {
570- const bool is_col = index > 0 ;
571- printf (" getVariableKktFailures: %2s %3d [%11.4g, %11.4g, %11.4g], pr_ifs = %11.4g; ifs.infeasibility = %11.4g; ifs.residual = %11.4g\n " ,
572- is_col ? " Col" : " Row" ,
573- is_col ? index : -index-1 ,
574- lower, value, upper,
575- primal_infeasibility,
576- infeasibility_residual.first ,
577- infeasibility_residual.second );
578- assert (!residual_error);
579- }
580-
581560 // Determine whether this value is close to a bound
582561 at_status = kHighsSolutionNo ;
583562 double bound_residual = std::fabs (lower - value);
0 commit comments