dwavesystems / dwave-system

An API for easily incorporating the D-Wave system as a sampler, either directly or through Leap's cloud-based hybrid samplers
https://docs.ocean.dwavesys.com/
Apache License 2.0
87 stars 62 forks source link

Add info to problem-size exceptions #439

Closed JoelPasvolsky closed 2 years ago

JoelPasvolsky commented 2 years ago

per Nikhil: can you reverse this language to "Your application may require scare or performance that ... Contact sales@dwavesys.com for more information.

I think this comment is based on looking at only the added string, but the new string is appended to the current exception messages. Below is an example of a full message displayed to a user:

"ValueError: constrained quadratic model must have 5000 or fewer variables; given model has 5500. Contact D-Wave at sales@dwavesys.com if your application requires scale or performance that exceeds the currently advertised capabilities of this hybrid solver."

So the existing text already states the problem, and the addition is actually already phrased as the way to deal with the stated problem.