Skip to content

Stride Formulation#39

Open
mihidumgunasekara wants to merge 5 commits into
dwave-examples:mainfrom
mihidumgunasekara:feature/stride_formulation
Open

Stride Formulation#39
mihidumgunasekara wants to merge 5 commits into
dwave-examples:mainfrom
mihidumgunasekara:feature/stride_formulation

Conversation

@mihidumgunasekara

Copy link
Copy Markdown

Added a stride formulation using the same variables/constrains and equations as the CQM formulation.

@k8culver k8culver requested review from k8culver and thisac June 16, 2026 22:48

@k8culver k8culver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for all your work on this! I did a bit of preliminary testing and it seems to be working well but I will do some more.

Comment thread src/single_period.py Outdated
Comment thread src/single_period.py Outdated
Comment thread src/single_period.py Outdated
Comment thread src/single_period.py Outdated
Comment thread src/single_period.py Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread data/larger_example.csv Outdated
Comment thread src/demo_enums.py Outdated

@k8culver k8culver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two tiny things but otherwise the code looks great! I'll get another set of eyes on the Stride formulation

Comment thread src/single_period.py
Comment thread README.md Outdated
Comment thread .gitignore Outdated
Comment thread app.py Outdated
Comment thread demo_interface.py Outdated
Comment thread .gitignore Outdated
Comment thread src/multi_period.py Outdated
Comment thread src/single_period.py
Comment thread src/single_period.py Outdated
Comment thread src/single_period.py Outdated
Comment thread src/single_period.py Outdated
Comment thread portfolio.py Outdated
@mihidumgunasekara

Copy link
Copy Markdown
Author

Two tiny things but otherwise the code looks great! I'll get another set of eyes on the Stride formulation

Made the requested changes. Thanks

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.

3 participants