Skip to content
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

Add transaction cost modeling to cqm formulations #15

Merged
merged 7 commits into from
Mar 7, 2022

Conversation

pierrelouisp
Copy link
Contributor

Resolve #14

@pierrelouisp pierrelouisp requested a review from vgoliber as a code owner March 4, 2022 04:54

The demo allows the user to model transaction costs as a percentage of the total transactions value (sales and purchases). A default CQM run with a transaction cost factor of 10% can be done with the following command:

`python portfolio.py -m 'CQM' -t 0.01`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add a bit about how this factors into the formulation/CQM?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I added some more content there. Can you merge once approved? I don't have write permission. Thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure - we should fix that though. Not sure who has the ability to give you those permissions. Maybe @arcondello ?

@vgoliber vgoliber merged commit 04837e4 into dwave-examples:main Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Transaction Cost Model for CQM Formulation
2 participants