cobyqa.problem.LinearConstraints#
- class cobyqa.problem.LinearConstraints(constraints, n, debug)[source]#
Linear constraints
a_ub @ x <= b_ubanda_eq @ x == b_eq.- Attributes:
a_eqLeft-hand side matrix of the linear equality constraints.
a_ubLeft-hand side matrix of the linear inequality constraints.
b_eqRight-hand side vector of the linear equality constraints.
b_ubRight-hand side vector of the linear inequality constraints.
m_eqNumber of linear equality constraints.
m_ubNumber of linear inequality constraints.
Methods
maxcv(x)Evaluate the maximum constraint violation.
violation