QuadraticProgram.minimize¶
- QuadraticProgram.minimize(constant=0.0, linear=None, quadratic=None)[fuente]¶
Sets a quadratic objective to be minimized.
- Parámetros:
constant (float) – the constant offset of the objective.
linear (ndarray | spmatrix | List[float] | Dict[int | str, float] | None) – the coefficients of the linear part of the objective.
quadratic (ndarray | spmatrix | List[List[float]] | Dict[Tuple[int | str, int | str], float] | None) – the coefficients of the quadratic part of the objective.
- Devuelve:
The created quadratic objective.
- Tipo del valor devuelto:
None