harvard-cns / teal

Codebase for Teal (SIGCOMM 2023)
MIT License
45 stars 12 forks source link

ADMM class is not used any where in the code? #4

Open restart-again opened 3 months ago

restart-again commented 3 months ago

Hi, thanks for your code sharing. I simply search how you use ADMM in all code files, but I only find ADMM class definition, it is not used anywhere in all the code files, a bit confused, you may can help on understanding it better, thanks.

luopeng69131 commented 1 month ago

https://github.com/harvard-cns/teal/blob/8076c9924bbfd37542b22717c20911c0d4419d00/run/teal.py#L96 In this line, setting the admm iteration number; https://github.com/harvard-cns/teal/blob/8076c9924bbfd37542b22717c20911c0d4419d00/lib/teal_env.py#L71 In teal simulation env, the admm is initialized; https://github.com/harvard-cns/teal/blob/8076c9924bbfd37542b22717c20911c0d4419d00/lib/teal_env.py#L164 And in this line, the solution is fine tuned by admm.