-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend PortfolioOptimization
to support integer variables
#57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
qiskit_finance/applications/optimization/portfolio_optimization.py
Outdated
Show resolved
Hide resolved
Since this is a new feature for PortfolioOptimization can we add a reno for this please. |
qiskit_finance/applications/optimization/portfolio_optimization.py
Outdated
Show resolved
Hide resolved
@woodsp-ibm Thank you always for helpful comments. I fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just fixed a minor thing in reno to make 'assets' plural as it reads easier like that.
All looks good now. Thanks
Summary
Resolves #54.
Details and comments
Currently,
PortfolioOptimization
supports only binary variables which means we can only chose whether we buy an asset or not. The PR extendsPortfolioOptimization
to support integer variables. So, now, we can decide how many asset we buy instead of just tow choices, buy or not.