QuadraticProgram.from_docplex(model)[소스]

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

매개변수

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

예외

QiskitOptimizationError – if the model contains unsupported elements.

반환 형식

None