MCPcopy Create free account
hub / github.com/PythonOT/POT / line_search

Function line_search

ot/optim.py:514–515  ·  view source on GitHub ↗
(cost, G, deltaG, Mi, cost_G, df_G, **kwargs)

Source from the content-addressed store, hash-verified

512 if line_search is None:
513
514 def line_search(cost, G, deltaG, Mi, cost_G, df_G, **kwargs):
515 return line_search_armijo(cost, G, deltaG, Mi, cost_G, nx=nx, **kwargs)
516
517 def lp_solver(a, b, M, **kwargs):
518 return emd(a, b, M, numItermaxEmd, log=True)

Callers 1

Calls 1

line_search_armijoFunction · 0.85

Tested by

no test coverage detected