Solving the Weighted Constraint Satisfaction Problems Via the Neural Network Approach