@@ -79,7 +79,7 @@ def wc_gradient_descent_quadratic_lojasiewicz_intermediate(L, mu, gamma, n, alph
7979 Example:
8080 >>> L, mu, gamma, n = 1, .2, 1, 1
8181 >>> alpha = (2*mu/(2*L+mu))
82- >>> pepit_tau, theoretical_tau = wc_gradient_descent_refinedLojasiewicz (L=L, gamma=gamma, n=1, alpha=alpha, wrapper="cvxpy", solver=None, verbose=1)
82+ >>> pepit_tau, theoretical_tau = wc_gradient_descent_quadratic_lojasiewicz_intermediate (L=L, gamma=gamma, n=1, alpha=alpha, wrapper="cvxpy", solver=None, verbose=1)
8383 (PEPit) Setting up the problem: size of the Gram matrix: 4x4
8484 (PEPit) Setting up the problem: performance measure is the minimum of 1 element(s)
8585 (PEPit) Setting up the problem: Adding initial conditions and general constraints ...
@@ -101,7 +101,7 @@ def wc_gradient_descent_quadratic_lojasiewicz_intermediate(L, mu, gamma, n, alph
101101 (PEPit) Final upper bound (dual): 0.7272727272394729 and lower bound (primal example): 0.727272727239017
102102 (PEPit) Duality gap: absolute: 4.558575739110893e-13 and relative: 6.268041641568012e-13
103103 *** Example file: worst-case performance of gradient descent with fixed step-size ***
104- *** (smooth problem satisfying a Lojasiewicz inequality; refined version) ***
104+ *** (smooth problem satisfying a Lojasiewicz inequality; intermediate version) ***
105105 PEPit guarantee: f(x_1) - f(x_*) <= 0.727273 (f(x_0)-f_*)
106106 Theoretical guarantee: f(x_1) - f(x_*) <= 0.727273 (f(x_0)-f_*)
107107
@@ -152,7 +152,7 @@ def wc_gradient_descent_quadratic_lojasiewicz_intermediate(L, mu, gamma, n, alph
152152 # Print conclusion if required
153153 if verbose != - 1 :
154154 print ('*** Example file: worst-case performance of gradient descent with fixed step-size ***' )
155- print ('*** \t (smooth problem satisfying a Lojasiewicz inequality; refined version) ***' )
155+ print ('*** \t (smooth problem satisfying a Lojasiewicz inequality; intermediate version) ***' )
156156 print ('\t PEPit guarantee:\t f(x_1) - f(x_*) <= {:.6} (f(x_0)-f_*)' .format (pepit_tau ))
157157 print ('\t Theoretical guarantee:\t f(x_1) - f(x_*) <= {:.6} (f(x_0)-f_*)' .format (theoretical_tau ))
158158
0 commit comments