repairoptimization