| Algorithm 2 First-Order Method for Solving (6). (PenNMF) | |
| Require:, ; | |
| 1: Randomly choose satisfies , set ; | |
| 2: while not terminate do | |
| 3: Compute inexact gradient
| |
| 4: Compute stepsize ; | |
| 5: ; | |
| 6: ; | |
| 7: end while | |
| 8: Return |
| Algorithm 2 First-Order Method for Solving (6). (PenNMF) | |
| Require:, ; | |
| 1: Randomly choose satisfies , set ; | |
| 2: while not terminate do | |
| 3: Compute inexact gradient
| |
| 4: Compute stepsize ; | |
| 5: ; | |
| 6: ; | |
| 7: end while | |
| 8: Return |