Implemented resetting of constraints to linear solver to reevaluate result