class ADMMState(op, rho_initial)[source]#

Bases: object

Internal computation state of the ADMM implementation.

The state keeps track of various variables are stored that are being updated during problem solving. The values are relevant to the problem being solved. The state is recreated for each optimization problem. State is returned as the third value.

  • op (QuadraticProgram) -- The optimization problem being solved.

  • rho_initial (float) -- Initial value of the rho parameter.