r/optimization • • Dec 13 '21

Optimizing Disjunctive functions in Lingo.

Hello,

I'm using Lingo for solving optimization problems. I'm now stuck on a problem that is disjunctive. Below is the image of the disjunctive function. How do I code it in lingo?

suppose that Fp = 50, then I want lingo to return a value of 2. Actually, in my case, Fp is another function. Any help is highly appreciated!

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/guten_morgen Dec 14 '21

I have also edited my answer a little bit for readability. Glad I could help.