Skip to content

Commit 4be76a3

Browse files
committed
attempt 2
1 parent 1599799 commit 4be76a3

File tree

62 files changed

+293
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+293
-235
lines changed

PEPit/constraint.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ def eval_dual(self):
103103
after the corresponding PEP was solved numerically.
104104
105105
Raises:
106-
| ValueError("The PEP must be solved to evaluate Constraints dual variables!")
107-
if the PEP has not been solved yet.
106+
ValueError("The PEP must be solved to evaluate Constraints dual variables!") if the PEP has not been solved yet.
108107
109108
"""
110109

PEPit/examples/adaptive_methods/polyak_steps_in_distance_to_optimum.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ def wc_polyak_steps_in_distance_to_optimum(L, mu, gamma, verbose=1):
5757
mu (float): the strong convexity parameter.
5858
gamma (float): the step-size.
5959
verbose (int): Level of information details to print.
60-
-1: No verbose at all.
61-
0: This example's output.
62-
1: This example's output + PEPit information.
63-
2: This example's output + PEPit information + CVXPY details.
60+
61+
- 1: No verbose at all.
62+
- 0: This example's output.
63+
- 1: This example's output + PEPit information.
64+
- 2: This example's output + PEPit information + CVXPY details.
6465
6566
Returns:
6667
pepit_tau (float): worst-case value

PEPit/examples/adaptive_methods/polyak_steps_in_function_value.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ def wc_polyak_steps_in_function_value(L, mu, gamma, verbose=1):
5858
mu (float): the strong convexity parameter.
5959
gamma (float): the step-size.
6060
verbose (int): Level of information details to print.
61-
-1: No verbose at all.
62-
0: This example's output.
63-
1: This example's output + PEPit information.
64-
2: This example's output + PEPit information + CVXPY details.
61+
62+
- 1: No verbose at all.
63+
- 0: This example's output.
64+
- 1: This example's output + PEPit information.
65+
- 2: This example's output + PEPit information + CVXPY details.
6566
6667
Returns:
6768
pepit_tau (float): worst-case value

PEPit/examples/composite_convex_minimization/accelerated_douglas_rachford_splitting.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@ def wc_accelerated_douglas_rachford_splitting(mu, L, alpha, n, verbose=1):
6565
alpha (float): the parameter of the scheme.
6666
n (int): the number of iterations.
6767
verbose (int): Level of information details to print.
68-
-1: No verbose at all.
69-
0: This example's output.
70-
1: This example's output + PEPit information.
71-
2: This example's output + PEPit information + CVXPY details.
68+
69+
- 1: No verbose at all.
70+
- 0: This example's output.
71+
- 1: This example's output + PEPit information.
72+
- 2: This example's output + PEPit information + CVXPY details.
7273
7374
Returns:
7475
pepit_tau (float): worst-case value.

PEPit/examples/composite_convex_minimization/accelerated_proximal_gradient.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ def wc_accelerated_proximal_gradient(mu, L, n, verbose=1):
5656
mu (float): the strong convexity parameter.
5757
n (int): number of iterations.
5858
verbose (int): Level of information details to print.
59-
-1: No verbose at all.
60-
0: This example's output.
61-
1: This example's output + PEPit information.
62-
2: This example's output + PEPit information + CVXPY details.
59+
60+
- 1: No verbose at all.
61+
- 0: This example's output.
62+
- 1: This example's output + PEPit information.
63+
- 2: This example's output + PEPit information + CVXPY details.
6364
6465
Returns:
6566
pepit_tau (float): worst-case value.

PEPit/examples/composite_convex_minimization/bregman_proximal_point.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ def wc_bregman_proximal_point(gamma, n, verbose=1):
4343
gamma (float): step-size.
4444
n (int): number of iterations.
4545
verbose (int): Level of information details to print.
46-
-1: No verbose at all.
47-
0: This example's output.
48-
1: This example's output + PEPit information.
49-
2: This example's output + PEPit information + CVXPY details.
46+
47+
- 1: No verbose at all.
48+
- 0: This example's output.
49+
- 1: This example's output + PEPit information.
50+
- 2: This example's output + PEPit information + CVXPY details.
5051
5152
Returns:
5253
pepit_tau (float): worst-case value.

PEPit/examples/composite_convex_minimization/douglas_rachford_splitting.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ def wc_douglas_rachford_splitting(L, alpha, theta, n, verbose=1):
5959
theta (float): parameter of the scheme.
6060
n (int): number of iterations.
6161
verbose (int): Level of information details to print.
62-
-1: No verbose at all.
63-
0: This example's output.
64-
1: This example's output + PEPit information.
65-
2: This example's output + PEPit information + CVXPY details.
62+
63+
- 1: No verbose at all.
64+
- 0: This example's output.
65+
- 1: This example's output + PEPit information.
66+
- 2: This example's output + PEPit information + CVXPY details.
6667
6768
Returns:
6869
pepit_tau (float): worst-case value.

PEPit/examples/composite_convex_minimization/douglas_rachford_splitting_contraction.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@ def wc_douglas_rachford_splitting_contraction(mu, L, alpha, theta, n, verbose=1)
6969
theta (float): parameter of the scheme.
7070
n (int): number of iterations.
7171
verbose (int): Level of information details to print.
72-
-1: No verbose at all.
73-
0: This example's output.
74-
1: This example's output + PEPit information.
75-
2: This example's output + PEPit information + CVXPY details.
72+
73+
- 1: No verbose at all.
74+
- 0: This example's output.
75+
- 1: This example's output + PEPit information.
76+
- 2: This example's output + PEPit information + CVXPY details.
7677
7778
Returns:
7879
pepit_tau (float): worst-case value

PEPit/examples/composite_convex_minimization/frank_wolfe.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ def wc_frank_wolfe(L, D, n, verbose=1):
5353
D (float): diameter of :math:`f_2`.
5454
n (int): number of iterations.
5555
verbose (int): Level of information details to print.
56-
-1: No verbose at all.
57-
0: This example's output.
58-
1: This example's output + PEPit information.
59-
2: This example's output + PEPit information + CVXPY details.
56+
57+
- 1: No verbose at all.
58+
- 0: This example's output.
59+
- 1: This example's output + PEPit information.
60+
- 2: This example's output + PEPit information + CVXPY details.
6061
6162
Returns:
6263
pepit_tau (float): worst-case value.

PEPit/examples/composite_convex_minimization/improved_interior_algorithm.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ def wc_improved_interior_algorithm(L, mu, c, lam, n, verbose=1):
6060
lam (float): the step-size.
6161
n (int): number of iterations.
6262
verbose (int): Level of information details to print.
63-
-1: No verbose at all.
64-
0: This example's output.
65-
1: This example's output + PEPit information.
66-
2: This example's output + PEPit information + CVXPY details.
63+
64+
- 1: No verbose at all.
65+
- 0: This example's output.
66+
- 1: This example's output + PEPit information.
67+
- 2: This example's output + PEPit information + CVXPY details.
6768
6869
Returns:
6970
pepit_tau (float): worst-case value.

0 commit comments

Comments
 (0)