QC seems not work #605
shouriken
started this conversation in
General, ojAlgo and related code
Replies: 1 comment 1 reply
-
|
None of the built-in solvers in ojAlgo can handle quadratic constraints. You have to either use a third party solver: https://www.ojalgo.org/2025/02/hooking-your-solver-to-ojalgo/ or model the problem differently. One way is to relax the variance expression and make it part of the objective function balanced with the return expression. This is what's done in the |
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 have a problem for Markowitz max-return model.
and, there are some simple range constraints for some assets.
core code:
I take the result of model back to risk QC, the$risk^2$ . Then I change the value of risk, but the result doesn't changed.
riskVariance.evaluate(point)is great thanIf I use the QC incorrectly? If the QC doesn't work?
Beta Was this translation helpful? Give feedback.
All reactions