English
Languages
English
Shortcuts



QuadraticProgram.to_docplex

QuadraticProgram.to_docplex()[source]

DEPRECATED Returns a docplex model corresponding to this quadratic program.

Return type

Model

Returns

The docplex model corresponding to this quadratic program.

Raises

QiskitOptimizationError – if non-supported elements (should never happen).