ADMMParameters#
- class ADMMParameters(rho_initial=10000, factor_c=100000, beta=1000, maxiter=10, tol=0.0001, max_time=inf, three_block=True, vary_rho=0, tau_incr=2, tau_decr=2, mu_res=10, mu_merit=1000, warm_start=False)[source]#
Bases:
object
Defines a set of parameters for ADMM optimizer.
Defines parameters for ADMM optimizer and their default values.
- প্যারামিটার:
rho_initial (float) -- Initial value of rho parameter of ADMM.
factor_c (float) -- Penalizing factor for equality constraints, when mapping to QUBO.
beta (float) -- Penalization for y decision variables.
maxiter (int) -- Maximum number of iterations for ADMM.
tol (float) -- Tolerance for the residual convergence.
max_time (float) -- Maximum running time (in seconds) for ADMM.
three_block (bool) -- Boolean flag to select the 3-block ADMM implementation.
vary_rho (int) -- Flag to select the rule to update rho. If set to 0, then rho increases by 10% at each iteration. If set to 1, then rho is modified according to primal and dual residuals.
tau_incr (float) -- Parameter used in the rho update (UPDATE_RHO_BY_RESIDUALS). The update rule can be found in: Boyd, S., Parikh, N., Chu, E., Peleato, B., & Eckstein, J. (2011). Distributed optimization and statistical learning via the alternating direction method of multipliers. Foundations and Trends® in Machine learning, 3(1), 1-122.
tau_decr (float) -- Parameter used in the rho update (UPDATE_RHO_BY_RESIDUALS).
mu_res (float) -- Parameter used in the rho update (UPDATE_RHO_BY_RESIDUALS).
mu_merit (float) -- Penalization for constraint residual. Used to compute the merit values.
warm_start (bool) -- Start ADMM with pre-initialized values for binary and continuous variables by solving a relaxed (all variables are continuous) problem first. This option does not guarantee the solution will optimal or even feasible. The option should be used when tuning other options does not help and should be considered as a hint to the optimizer where to start its iterative process.
Methods