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

Use Domain-Wall for SOS1 constraint encoding #61

Open
pedroripper opened this issue Feb 13, 2023 · 0 comments
Open

Use Domain-Wall for SOS1 constraint encoding #61

pedroripper opened this issue Feb 13, 2023 · 0 comments
Labels
-O1 Level 1 compiler optimization enhancement New feature or request

Comments

@pedroripper
Copy link
Member

pedroripper commented Feb 13, 2023

We are currently using one-hot approach. Not great, but it works.

IDEA: Use Domain-Wall. Define new variables $y_{i}$ such that $x_i = y_{i + 1} - y_{i}$, substituting every occurence of $x_{i}$ across the model.

Originally posted by @bernalde in #59 (comment)

@pedroripper pedroripper added the enhancement New feature or request label Feb 13, 2023
@pedromxavier pedromxavier added the -O1 Level 1 compiler optimization label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-O1 Level 1 compiler optimization enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants