Fix redundancies, repetitions, and cleanup rest
Closed this issue · 0 comments
bstellato commented
The code repeats a lot, leading to potential issues. Here are some that should be fixed:
- Please removed unused comments. For example, there are several
import ipdb; ipdb.set_trace()
blocks - In
robust_problem.py
you repeat several timessolver_args={'solve_method': "ECOS"}
. This dictionary should should be a constantLAYER_SOLVER
inlropt.settings
. - Do not repeat
dtype=torch.double
. This should also be a constantDTYPE
inlropt.settings