Barclays interview question

How do you do optimization modeling