aequilibrae.paths.linear_approximation#
Classes
|
- class aequilibrae.paths.linear_approximation.LinearApproximation(assig_spec, algorithm, project=None)[source]#
-
- check_convergence()[source]#
Calculate relative gap and return
Trueif it is smaller than desired precision.Two relative gaps are computed and stored on the instance:
self.rgap- the AequilibraE convention,|Σ flow·cost − Σ AON·cost| / Σ flow·cost. This is the only quantity used for the stopping criterion (compared againstself.rgap_target).(Σ flow·cost − Σ direction·cost) / Σ flow·cost, wheredirectionis the BFW combined step direction (self.step_direction_flow). Reported alongsideself.rgapin the iteration log and the convergence report so the two measures can be compared. NOT used for stopping.
- assignment = <aequilibrae.utils.python_signal.PythonSignal object>#
- equilibration = <aequilibrae.utils.python_signal.PythonSignal object>#
- signal = <aequilibrae.utils.python_signal.PythonSignal object>#