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

Method test_submit_full_problem

tests/test_solver.py:174–180  ·  view source on GitHub ↗

Submit a problem with all supported coefficients set.

(self)

Source from the content-addressed store, hash-verified

172 self._submit_and_check(solver, linear, {})
173
174 def test_submit_full_problem(self):
175 """Submit a problem with all supported coefficients set."""
176
177 with Client(**config) as client:
178 solver = client.get_solver()
179 linear, quad = generate_random_ising_problem(solver)
180 self._submit_and_check(solver, linear, quad)
181
182 def test_submit_full_ising_problem_with_offset(self):
183 """Submit a problem with all supported coefficients set, including energy offset."""

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