Quantum-inspired optimization algorithms with swarm-based circuit exploration for combinatorial and constraint problems