Applying Lagrange Multipliers to Optimization with Binary Variables

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Angelos K
Messages
43
Reaction score
0
Dear all,

I have an optimization problem with boundary conditions, the type that is usually solved with Lagrange multipliers. But the (many) variables my function depends on can take only the values 0 and 1. Does anyone know how to apply Lagrange multipliers in this case?

I am a physicist, so my background is not the widest.

Thank you in advance!
 
Mathematics news on Phys.org
Well, you can't use Lagrange multipliers. Presumably there are too many variables to use exhaustive search, i.e. trying all 2n possibilities. In that case one possible solution is to use a Monte Carlo method such as http://en.wikipedia.org/wiki/Simulated_annealing" .
 
Last edited by a moderator: