An Ant-Based Algorithm to Solve Distributed Constraint Optimization Problems