to_gurobipy#
- to_gurobipy(quadratic_program)[source]#
Returns a gurobipy model corresponding to a quadratic program.
- প্যারামিটার:
quadratic_program (QuadraticProgram) -- The quadratic program to be translated.
- রিটার্নস:
The gurobipy model corresponding to a quadratic program.
- রেইজেস:
QiskitOptimizationError -- if non-supported elements (should never happen).
- রিটার্ন টাইপ:
Model