You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -124,6 +136,19 @@ You can declare a stationary point of `func`, defined as a point which gradient
124
136
125
137
xs = func.stationary_point()
126
138
139
+
Then you can define the associated function value using:
140
+
141
+
.. code-block::
142
+
143
+
fs = func(xs)
144
+
145
+
Alternatively, you can use an option of the `stationary_point
146
+
<https://pepit.readthedocs.io/en/0.3.2/api/main_modules.html#PEPit.Function.stationary_point>`_ method to get the stationary point and properties of func on the latter.
**PEPit** does much more that just finding the worst-case value.
170
196
171
197
In particular, it stores possible values of each points, gradients and function values that achieve this worst-case guarantee,
@@ -198,7 +224,7 @@ You can also get the dual variables values of constraints at optimum,
198
224
which essentially allows you to write the proof of the worst-case guarantee you just obtained.
199
225
200
226
Let's consider again the previous example, but this time,
201
-
let's give a name to a constraint before using it.
227
+
let's store a constraint before using it.
202
228
203
229
.. code-block::
204
230
@@ -215,7 +241,8 @@ Naming PEPit objects
215
241
~~~~~~~~~~~~~~~~~~~~
216
242
217
243
In order to ease the proof reconstruction, PEPit now allows to associate names to the created objects.
218
-
This is particularly useful on constraints in order to associate the found dual values to some recognisable constraints.
244
+
This is particularly useful on `constraints
245
+
<https://pepit.readthedocs.io/en/0.3.2/api/main_modules.html#constraint>`_ in order to associate the found dual values to some recognisable constraints.
219
246
220
247
As an example, if a user creates several constraints in a row as
221
248
@@ -226,7 +253,7 @@ As an example, if a user creates several constraints in a row as
226
253
constraint.set_name(name)
227
254
problem.add_constraint(constraint)
228
255
229
-
the latter can easily list their names in front of their dual values as
256
+
the latter can easily list their names in front of their dual values with
230
257
231
258
.. code-block::
232
259
@@ -236,7 +263,8 @@ the latter can easily list their names in front of their dual values as
236
263
Functions generally contain several "interpolation constraints".
237
264
If a user sets a name to a function as well as to all the points the oracle has been called on,
238
265
then, its interpolation constraints will be attributed a name accordingly.
239
-
Then, using the method `get_class_constraints_duals`,
266
+
Then, using the method `get_class_constraints_duals
0 commit comments