3 ms·
Typically you model this kind of thing in linear optimization as a hard constraint rather than a penalty, but you can model it as a penalty in mixed integer lin
by kragen 7y ago
Typically you model this kind of thing in linear optimization as a hard constraint rather than a penalty, but you can model it as a penalty in mixed integer linear programming. It costs you two extra decision variables, one of which is binary.
- atak1 7y ago^ yes, penalties in the solver. Above post is correct. IRL they just get rolled and we treat it as a new problem with a different set of schedules.