tpaviot / ProcessScheduler

A Python package for automatic and optimized resource scheduling
https://processscheduler.github.io/
GNU General Public License v3.0
59 stars 17 forks source link

Return indicator in objectives #66

Closed dreinon closed 3 years ago

dreinon commented 3 years ago

I have only modified utilization objective, but all objectives could be modified to return indicator.

This is because this way, indicator could be used in constraints. Now, if I wanted to use indicator in constraints, I would have to first declare an indicator and then declare an objective of that indicator in my code, which is what add_objective_foo does.