Applied partial satisfaction using weighted iterative repair