← Back to context

Comment by whatever1

5 months ago

You need piecewise linear cost function and auxiliary variables. An experienced practitioner should be able to help you with either mixed integer linear programming or constraint programming

No need when using the timefold solver, the constraint streams allow for a more "human readable" approach. e.g. Penalise when the minimum is not reached, Penalise when the maximum is exceeded (2 constraints).