# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.multivariate.constrained.convex.sdp.socp.problem

## Class SOCPDualProblem.EqualityConstraints

• java.lang.Object
• com.numericalmethod.suanshu.optimization.multivariate.constrained.convex.sdp.socp.problem.SOCPDualProblem.EqualityConstraints
• ### Constructor Summary

Constructors
Constructor and Description
EqualityConstraints(Vector b, Matrix[] A, Vector[] c)
Constructs the equality constraints for a dual SOCP problem, $$\max_y \mathbf{b'y} \textrm{ s.t.,} \\ \mathbf{\hat{A}_i'y + s_i = \hat{c}_i} \\ s_i \in K_i, i = 1, 2, ..., q$$.
• ### Method Summary

All Methods
Modifier and Type Method and Description
int dimension()
Get the number of variables.
List<RealScalarFunction> getConstraints()
Get the list of constraint functions.
int size()
Get the number of constraints.
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Constructor Detail

• #### EqualityConstraints

public EqualityConstraints(Vector b,
Matrix[] A,
Vector[] c)
Constructs the equality constraints for a dual SOCP problem, $$\max_y \mathbf{b'y} \textrm{ s.t.,} \\ \mathbf{\hat{A}_i'y + s_i = \hat{c}_i} \\ s_i \in K_i, i = 1, 2, ..., q$$.
Parameters:
b - $$b$$
A - $$A_i$$'s
c - $$c_i$$'s
• ### Method Detail

• #### getConstraints

public List<RealScalarFunction> getConstraints()
Description copied from interface: Constraints
Get the list of constraint functions.
Specified by:
getConstraints in interface Constraints
Returns:
the list of constraint functions
• #### dimension

public int dimension()
Description copied from interface: Constraints
Get the number of variables.
Specified by:
dimension in interface Constraints
Returns:
the number of variables
• #### size

public int size()
Description copied from interface: Constraints
Get the number of constraints.
Specified by:
size in interface Constraints
Returns:
the number of constraints