MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / test_submit_linear_problem

Method test_submit_linear_problem

tests/test_solver.py:166–172  ·  view source on GitHub ↗

Submit a problem with all the linear terms populated.

(self)

Source from the content-addressed store, hash-verified

164 results.samples
165
166 def test_submit_linear_problem(self):
167 """Submit a problem with all the linear terms populated."""
168
169 with Client(**config) as client:
170 solver = client.get_solver()
171 linear, quad = generate_random_ising_problem(solver)
172 self._submit_and_check(solver, linear, {})
173
174 def test_submit_full_problem(self):
175 """Submit a problem with all supported coefficients set."""

Callers

nothing calls this directly

Calls 4

ClientClass · 0.90
_submit_and_checkMethod · 0.80
get_solverMethod · 0.45

Tested by

no test coverage detected