gemseo /
problems /
scalable /
parametric /
coreShow inherited members
quadratic_programming_problem module
A quadratic programming (QP) problem.
-
class gemseo.problems.scalable.parametric.core.quadratic_programming_problem.QuadraticProgrammingProblem(Q, c, d, A, b)[source]
Bases: NamedTuple
A quadratic programming (QP) problem.
Minimize \(0.5x^TQx + c^Tx + d\) with respect to \(x\) under the linear
constraints \(Ax-b <= 0\).
Create new instance of QuadraticProgrammingProblem(Q, c, d, A, b)
- Parameters:
-
-
A: ndarray[Any, dtype[float]]
The matrix \(A\) of the constraint function \(Ax-b\).
-
Q: ndarray[Any, dtype[float]]
The matrix \(Q\) of the objective function \(0.5x^TQx + c^Tx + d\).
This matrix must be symmetric.
-
b: ndarray[Any, dtype[float]]
The matrix \(b\) of the constraint function \(Ax-b\).
-
c: ndarray[Any, dtype[float]]
The matrix \(c\) of the objective function \(0.5x^TQx + c^Tx + d\).
-
d: ndarray[Any, dtype[float]]
The matrix \(d\) of the objective function \(0.5x^TQx + c^Tx + d\).