cobyqa.models.Quadratic.solve_systems#

static Quadratic.solve_systems(interpolation, rhs)[source]#

Solve the interpolation systems.

Parameters:
interpolationcobyqa.models.Interpolation

Interpolation set.

rhsnumpy.ndarray, shape (npt + n + 1, m)

Right-hand side vectors of the m interpolation systems.

Returns:
numpy.ndarray, shape (npt + n + 1, m)

Solutions of the interpolation systems.

numpy.ndarray, shape (m, )

Whether the interpolation systems are ill-conditioned.

Raises:
numpy.linalg.LinAlgError

If the interpolation systems are ill-defined.