English
Languages
English
Shortcuts



QuadraticProgram.from_docplex

QuadraticProgram.from_docplex(model)[source]

DEPRECATED Loads this quadratic program from a docplex model.

Note that this supports only basic functions of docplex as follows: - quadratic objective function - linear / quadratic constraints - binary / integer / continuous variables

Parameters

model (Model) – The docplex model to be loaded.

Raises

QiskitOptimizationError – if the model contains unsupported elements.

Return type

None