StanfordASL/neural-network-lyapunov

Use LineSearchGD for Lyapunov causes memory leak

Closed this issue · 1 comments

The memory leak doesn't happen if we use LineSearchGD for a simple problem, it happens when the closure captures self, and the reference to the objects in GurobiTorchMILP are not garbage collected.

Resolved by #140