revenol / DROO

Deep Reinforcement Learning for Online Computation Offloading in Wireless Powered Mobile-Edge Computing Networks
MIT License
545 stars 190 forks source link

Regarding the lambertw function calling part in the optimization.py file #21

Open muababara opened 8 months ago

muababara commented 8 months ago

Hello teacher, I have encountered difficulties in reading the code. If it is convenient, please help me answer:

  1. There is a variable v in the bisection function in the optimization.py file. You continuously call the function Q(v) through binary search. What does this v mean?
  2. There is a sum1 variable in the Q(v) function. The p1 function is called in the expression to calculate sum1 and the v value is passed. The p1 function calls the phi function, and the lambertw function is used in the phi function. The appearance of this series of calls and expressions made me suspicious. It seems that the lambertw function and other contents did not appear in your paper.

I'd be very grateful if you could give me an answer.

revenol commented 8 months ago

please refer to the reference paper: S. Bi and Y. J. A. Zhang, “Computation rate maximization for wireless powered mobile-edge computing with binary computation offloading,” IEEE Trans. Wireless Commun., vol. 17, no. 6, pp. 4177–4190, Jun. 2018.


From: muababara @.> Sent: Wednesday, March 13, 2024 8:30 PM To: revenol/DROO @.> Cc: Subscribed @.***> Subject: [revenol/DROO] Regarding the lambertw function calling part in the optimization.py file (Issue #21)

Hello teacher, I have encountered difficulties in reading the code. If it is convenient, please help me answer:

  1. There is a variable v in the bisection function in the optimization.py file. You continuously call the function Q(v) through binary search. What does this v mean?
  2. There is a sum1 variable in the Q(v) function. The p1 function is called in the expression to calculate sum1 and the v value is passed. The p1 function calls the phi function, and the lambertw function is used in the phi function. The appearance of this series of calls and expressions made me suspicious. It seems that the lambertw function and other contents did not appear in your paper.

I'd be very grateful if you could give me an answer.

— Reply to this email directly, view it on GitHubhttps://github.com/revenol/DROO/issues/21, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEX2L5S6MPTJKEAMDZORXALYYBBFPAVCNFSM6AAAAABEUCARTOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DGOBYHAZTKMA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

revenol commented 8 months ago

From: muababara @.> Sent: Wednesday, March 13, 2024 8:30 PM To: revenol/DROO @.> Cc: Subscribed @.***> Subject: [revenol/DROO] Regarding the lambertw function calling part in the optimization.py file (Issue #21)

Hello teacher, I have encountered difficulties in reading the code. If it is convenient, please help me answer:

  1. There is a variable v in the bisection function in the optimization.py file. You continuously call the function Q(v) through binary search. What does this v mean?
  2. There is a sum1 variable in the Q(v) function. The p1 function is called in the expression to calculate sum1 and the v value is passed. The p1 function calls the phi function, and the lambertw function is used in the phi function. The appearance of this series of calls and expressions made me suspicious. It seems that the lambertw function and other contents did not appear in your paper.

I'd be very grateful if you could give me an answer.

— Reply to this email directly, view it on GitHubhttps://github.com/revenol/DROO/issues/21, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEX2L5S6MPTJKEAMDZORXALYYBBFPAVCNFSM6AAAAABEUCARTOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DGOBYHAZTKMA. You are receiving this because you are subscribed to this thread.

ten-xi commented 7 months ago

hello, do you understand this question? I also saw this place today.