Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm given a lattice with particles having charges which have known magnitude but unknown signs. The primary aim is to stabilize the lattice (or decrease the force acting on the system) by assigning signs to the charges so that the sum of the products of neighboring charges is minimum, that is, I'll take products of charges of each particle with its neighbor and take the sum across the whole crystal (a pair is considered only once). So my aim is to assign +ve/-ve signs to the charges in crystal to minimize the total force on the crystal. The smaller the value of force (in negative side as well), the more stabilized the crystal . For simplification I've assumed a square lattice represented by a matrix, where north, south, east and west particles are neighbors,

The only solution that I can think of right now is bruteforcing all possible combinations.

share|improve this question

1 Answer 1

This isn't a real answer, but the question reminds me of the Ising model. If the literature about this model doesn't lead to an appropriate algorithm, then you can probably use some kind of branch and bound search to gain some speed over literally trying all possible combinations. Or if you only need an approximation then you can use something like simulated annealing.

share|improve this answer
    
I's reading through notes on simulated annealing and branch and bound algorithm . it seems a perfect match . just one curious ques they all belong to the genetic algorithm category,dont they ? –  Malice Jan 24 '12 at 15:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.