Express Langrange constraint that an expression*cannot* equal a value

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
X89codered89X
Messages
149
Reaction score
2
I have an optimization where I'd like to express the idea that some of my parameters cannot equal a certain value

e.g... [tex]max \ f(x) = ...[/tex] s.t. [tex]x_3 \neq 1[/tex]

Is there a standard method to solve this using lagrangian optimization?

Thanks.
 
Physics news on Phys.org
What you are doing there is best described as restricting the domain of [itex]f[/itex] rather than putting a constraint on [itex]x[/itex]. You just have to extremize [itex]f[/itex] in the ordinary way and reject any maximum which has [itex]x_3 = 1[/itex].
 
Ah that is a good point. I had suspected in practice that I would just have to do a rejection like that, but you also gave tasty frontal-lobe-esque reasoning. Thanks!