dwavesystems / dwavesystems/dimod

Add a CQM method to create a binary indicator variable for a threshold value of another variable

Open
#1,049 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
143
Forks
91
Avg merge
1h 24m
Merged PRs (30d)
3

Description

**Application**
Enable easy construction of binary indicator variables with values set by other problem variables; for example, True when an integer variable is above a threshold

**Proposed Solution**
![image](https://user-images.githubusercontent.com/34041130/142676762-20b6f62b-d10c-4aac-8241-9eb26df92c32.png)

**Additional Context**
See example in https://docs.ocean.dwavesys.com/en/stable/examples/hybrid_cqm_stock_selling.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.