dimod
dimod copied to clipboard
A shared API for QUBO/Ising samplers.
It would be good to have something similar to [load_sampler_bqm_tests](https://github.com/dwavesystems/dimod/blob/de40db8c2b55f56bfbdadaf2b9a4981fa4899b98/dimod/testing/sampler.py#L180) for for CQMs for smoke testing lots of different CQM structures.
**Application** I want to solve my ILP/QP with multiple solvers, including (but not limited) to the QA. I'd much rather use a single piece of code for formulating the problem....
**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...
It would be good to add [stub files](https://mypy.readthedocs.io/en/stable/stubs.html#stub-files) for some of the most commonly used cython packages because cython current does not support type annotations. Especially `dimod.cyvariables` and `dimod.cyutilities` would...
`BQM.to_numpy_matrix()` was removed in dimod 0.10.0, however creating a dense matrix from a BQM is still of interest to some users. It can currently be done with ```python import dimod...
**Application** It's frustrating that the higher order polynomial class (`BinaryPolynomial`), does not support basic arithmetic operators. It's also inconsistent with `BinaryQuadraticModel`, which does support such operators. This limits the usability...
Hi, I am trying to set an inequality constraint (I want the sum of some terms to be negative, less than 0 essentially), but get this error : Traceback (most...
We currently allow `BINARY` and `SPIN` variables in higher order models in the `BinaryPolynomial` class. It would be good to add a `QuadraticModel` analogue that permits `REAL` and `INTEGER` variables,...
**Application** I find it surprising and frustrating that zero entries are not automatically removed from models. **Proposed Solution** Check if a calculation results in a zero, and then remove -...