fix parameters to solve on Constraints
fix examples to comply with new solve params