I set particular constraints for my optimization problem and find that these constraints are violated even though the solvers says that it was successful when solving.

For example, I set 10 decision variables to be equal to each other, and there will be slight deviations in the chosen values such that the 10 decision variables are close to equal but not quite.

Why is this happening? Is it because of the accuracy of the solver?