Some people have directed you on how to submit CPU tasks. However, as I read it, I assume that you are talking about working in Operations Research.
In that case, the solution that I would recommend would be: Just program a small function for each rule that you want to use, and match the input that you have. Then itβs easy to reuse this feature in every bit of code that you have.
The reason why this may not be standard functionality is due to the variety of input formats and ease of programming.
Advice on how to do this, such as EDD and SPT: just sort them according to the corresponding property and then each time use the first available one.
source share