Open Castavo opened 6 months ago
Having a parameter will be possible with train schedule v2, adding this to the endpoint POST /timetable/{id}
v1 could be nice too just to compare performances and be able to benchmark. It will be lost work but if it is not too much work then we should do it in my opinion.
We tried it, and the number of trains working decreased (some trains work only with MARECO, some with Linear, but more work with MARECO apparently).
We still saw an average decrease of import time of 8% for the ones who worked.
We chose to not investigate further, for now, as the reason why these algorithm differ might be very hard to find.
Description and goal
Today we use
mareco
, which is slow, we want to uselinear
to improve computation speed. (Ideally this could be a parameter)Acceptance criteria
linear
margin typetimetable/{id}
have a parametermargin_type
(or other name) to specify which one must be used