How to get solution path from greedy algorithm?
How to get solution path from greedy algorithm? Question: I have greedy algoithm with job scheduling problem, but I want to return which one projects were chosen to get this max value, how can I do that? from dataclasses import dataclass from datetime import date @dataclass class InvestmentProject: profit: int begin_date: date end_date: date def …
Total answers: 1