UTA-WESOME / uta-gms-engine

Engine for the UTA-GMS system
https://pypi.org/project/uta-gms-engine/
0 stars 0 forks source link

Solver usage refactor #25

Closed anras5 closed 1 year ago

anras5 commented 1 year ago

I would like to be able to use the get_ranking_dict function from the Solver class

https://github.com/UTA-WESOME/uta-gms-engine/blob/7dacb7d9fa6debc37cefd04dfbd8fc952ff4ce19/src/utagmsengine/solver.py#L59-L67

in the following way:


The function should automatically infer how to match the appropriate IDs. Before performing any calculations, it should check whether all IDs in alternatives and criteria are unique, and if not, raise an exception.

It might be a good idea to use the Pydantic library for data validation.