Integer Programming: Logical Conditions with Binary Variables in Excel Solver

preview_player
Показать описание
Enjoyed this content & want to support my channel? You can get the spreadsheet I build in the video or buy me a coffee! Links below:

Besides allowing you to model yes/no decisions in optimization models, binary variables also allow you to enforce logical conditions such as: if this happens, then that also happens, or if this happens then that can't happen, etc. In this video we learn how to implement these kinds of constraints in an optimization model without resorting to Excel's IF function, which should not be used for this purpose.
Рекомендации по теме
Комментарии
Автор

The ultimate teaching style. Period.
Much appreciated all your videos. Thank you.

mutlugundiler
Автор

You are a very excellent teacher, thank you very much

zheng-ph
Автор

Excellent. How would we model an 'or'. i.e. if we advertise on channels 3 OR 4, then we must advertise on channel 10? what would the linear equation be?

ShaunDePonte
Автор

Your teaching skills are amazing. Thank you for this and keep going.

vijaybisht
Автор

Hi I would like to check, if the constraint is this instead, what would the equation be?


If we advertise on channel 3, we must also advertise on channel 9 and 10,

rg
Автор

What happened in both cases where constraints 2 and 3 weren’t satisfied at all? if the problem requires me that when x2 happens then x3 should do too. and the other one related x6 and x8 we didn’t get the answer we expected by adding those constraints, wha do we need to do in order to make it happen?

olgahernandez