-
**Description**
I can first add a constraint that acts as an upper bound and then set an upper bound on the variable but I am not allowed to do the same thing in reverse order:
1)
```
>>> cqm = …
-
### 🐛 Describe the bug
```python
# test.py
import torch
import os
rank = int(os.getenv("LOCAL_RANK"))
torch.distributed.init_process_group('nccl', device_id=torch.device(rank))
g = torch.distri…
-
### Your current environment
```text
Collecting environment information...
PyTorch version: 2.3.1+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
…
-
### Your current environment
```text
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 18.04.1 LTS (x86_64)
GCC ve…
-
Example for a QAP
```python
import itertools
import dimod
import networkx as nx
# set up a basic QAP
cqm = dimod.ConstrainedQuadraticModel()
cqm.add_variables("BINARY", itertools.product(ra…
-
For very large CQMs, it would be helpful to have something like [numpy.memmap](https://numpy.org/doc/stable/reference/generated/numpy.memmap.html). It would wrap a CQM file, as generated by `CQM.to_fi…
-
### Your current environment information
```
Collecting environment information...
PyTorch version: 2.1.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch:…
-
### Your current environment information
Unable to load nexfort.{extension} module. Is it compatible with your PyTorch installation?
Collecting environment information...
PyTorch version: 2.4.0+cu1…
-
Not sure if this is a bug or a feature request. Since I didn't expect this to happen, I file it as a bug, please change to feature request if more appropriate.
I do not expect to be able to add an …
-
**Application**
We have a function `from_lp_file`. Would be good to add one as `from_mps_file`, as some databases provide problems in this format. Users are currently using 3rd party tools to do this…