Self-Adaptive Ising Machines for Constrained Optimization