QuadraticProgram.prettyprint¶
- QuadraticProgram.prettyprint(wrap=80)[fuente]¶
Returns a pretty printed string of this problem.
- Parámetros:
wrap (int) – The text width to wrap the output strings. It is disabled by setting 0. Note that some strings might exceed this value, for example, a long variable name won’t be wrapped. The default value is 80.
- Devuelve:
A pretty printed string representing the problem.
- Muestra:
QiskitOptimizationError – if there is a non-printable name.
- Tipo del valor devuelto: