Skip to content

Commit

Permalink
Fixing poorly-worded comment in transition matrix solver
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnapolitano committed Oct 18, 2023
1 parent 08401eb commit 3d35f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/elexsolver/TransitionMatrixSolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def __solve(self, A, B):
objective = cp.Minimize(loss_function)
constraint = TransitionMatrixSolver.__get_constraint(transition_matrix, self._strict)
problem = cp.Problem(objective, constraint)
# preferring CVXPY's prior default solver, ECOS, over its new default, Clarabel
# because sometimes Clarabel produces negative-values results for our problem
# preferring cvxpy's prior default solver, ECOS, over its new default, Clarabel
# because sometimes Clarabel produces negative-valued results for our problem
problem.solve(solver=cp.ECOS)
return transition_matrix.value

Expand Down

0 comments on commit 3d35f67

Please sign in to comment.