OK, here is the situation. I am supposed to write optimization code in Matlab to determine which of two missions an airplane should perform. There are three total, but one of them has been decided on. So I need to determine which of the other two I should do. The problem is that I have never written this type of code before, so I have no clue what to do. Could someone give me a good resource I can use as a starting point to writing this code?