Upload the specified CQM to SAPI, returning a Problem ID that can be used to submit the CQM to this solver (i.e. call the .sample_cqm method).
ConstrainedQuadraticModel/bytes-like/file-like) – A constrained quadratic model given either as an in-memory
ConstrainedQuadraticModelobject, or as raw data (encoded serialized model) in either a file-like or a bytes-like object.
Problem ID in a Future. Problem ID can be used to submit problems by reference.
- Return type
To use this method, dimod package has to be installed.