Solving Multiagent Networks Using Distributed Constraint Optimization