Replies: 1 comment 1 reply
-
Hi @mlbhl, I hope you have purchased my book and you are enjoying the content. About your questions:
Best, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am currently reading your book, "Advanced Portfolio Optimization," and have a question regarding Python code 8.13 (Sharpe ratio maximization).
I'm finding it difficult to understand this specific section of the code and am wondering if there might be an error in the book's content, particularly concerning the line "ret = mu.T @ x". The variable x does not appear to be defined anywhere prior to its use in this line. Could you please clarify if this is intentional or if x should be defined elsewhere?
Additionally, if you are able to answer, I'm curious why the book uses a different approach for defining risk compared to the cp.quad_form() structure commonly used for general optimization with cvxpy. Furthermore, I'd appreciate it if you could explain your reasoning for choosing MOSEK as the solver.
Thank you for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions