Skip to content

Commit

Permalink
added ignore_dpp
Browse files Browse the repository at this point in the history
  • Loading branch information
enzbus committed Sep 11, 2023
1 parent 3849f18 commit 82f63e1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions examples/timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,22 @@
constraints = [
cvx.LeverageLimit(3),
],
# You can select any cvxpy

# You can select any CVXPY
# solver here to see how it
# affects performance of your
# particular problem. This one
# is the default for this type
# of problems.
solver='ECOS'
solver='ECOS',

# this is a CVXPY compilation flag, it is
# recommended for large optimization problems
# (like this one) but not for small ones
ignore_dpp=True,

# you can add any other cvxpy.Problem.solve option
# here, see https://www.cvxpy.org/tutorial/advanced/index.html
)

# this downloads data for all the sp500
Expand Down

0 comments on commit 82f63e1

Please sign in to comment.