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
Copy file name to clipboardExpand all lines: doc/2-PROXQP_API/2-ProxQP_api.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -302,6 +302,9 @@ In this table you have on the three columns from left to right: the name of the
302
302
| eps_abs | 1.E-3 | Asbolute stopping criterion of the solver.
303
303
| eps_rel | 0 | Relative stopping criterion of the solver.
304
304
| VERBOSE | False | If set to true, the solver prints information at each loop.
305
+
| default_rho | 1.E-6 | Default rho parameter of result class (i.e., for each initial guess, except WARM_START_WITH_PREVIOUS_RESULT, after a new solve or update, the solver initializes rho to this value).
306
+
| default_mu_eq | 1.E-3 | Default mu_eq parameter of result class (i.e., for each initial guess, except WARM_START_WITH_PREVIOUS_RESULT, after a new solve or update, the solver initializes mu_eq to this value).
307
+
| default_mu_in | 1.E-1 | Default mu_in parameter of result class (i.e., for each initial guess, except WARM_START_WITH_PREVIOUS_RESULT, after a new solve or update, the solver initializes mu_in to this value).
305
308
| compute_timings | True | If set to true, timings will be computed by the solver (setup time, solving time, and run time = setup time + solving time).
306
309
| max_iter | 1.E4 | Maximal number of authorized outer iterations.
307
310
| max_iter_in | 1500 | Maximal number of authorized inner iterations.
@@ -430,6 +433,25 @@ In this table you have on the three columns from left to right: the name of the
430
433
| pri_res | 0 | The primal residual.
431
434
| dua_res | 0 | The dual residual.
432
435
436
+
437
+
Note finally that when initializing a QP object, by default the proximal step sizes (i.e., rho, mu_eq and mu_in) are set up by the default values defined in the Setting class. Hence, when doing multiple solves, if not specified, their values are re-set respectively to default_rho, default_mu_eq and default_mu_in. A small example is given below in c++ and python.
0 commit comments