public class SOCPDualProblem1 extends Object implements ConstrainedOptimProblem
| Modifier and Type | Class and Description |
|---|---|
static class |
SOCPDualProblem1.EqualityConstraints |
| Constructor and Description |
|---|
SOCPDualProblem1(SOCPDualProblem1 that)
Copy constructor.
|
SOCPDualProblem1(Vector b,
Matrix[] A_q,
Vector[] c_q)
Constructs a dual SOCP problem.
\[
\max_y \mathbf{b'y} \textrm{ s.t.,} \\
\mathbf{{A^q}_i'y + s_i = c^q_i}, s_i \in K_i, i = 1, 2, ..., q \\
\]
|
SOCPDualProblem1(Vector b,
Matrix[] A_q,
Vector[] c_q,
Matrix A_l,
Vector c_l,
Matrix A_u,
Vector c_u)
Constructs a dual SOCP problem.
\[
\max_y \mathbf{b'y} \textrm{ s.t.,} \\
\mathbf{{A^q}_i'y + s_i = c^q_i}, s_i \in K_i, i = 1, 2, ..., q \\
\mathbf{{A^{\ell}}^T y + z^{\ell} = c^{\ell}} \\
\mathbf{{A^{u}}^T y = c^{u}} \\
\]
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
A_full()
Combine all A data as a matrix.
|
Matrix |
A_l_full()
Combine all linear blocks as a matrix.
|
Matrix |
A_l() |
Matrix |
A_q_full()
A^q = [{A^q}_1, {A^q}_2, ...
|
Matrix |
A_q(int i)
Gets \({A^q}_i\).
|
Matrix |
A_u() |
Vector |
b()
Gets b.
|
Vector |
c_full() |
Vector |
c_l_full() |
Vector |
c_l() |
Vector |
c_q_full() |
Vector |
c_q(int i)
Gets \(c^q_i\).
|
Vector |
c_u() |
int |
dimension()
Get the number of variables.
|
RealScalarFunction |
f()
Get the objective function.
|
boolean |
flag_s() |
boolean |
flag_u() |
SOCPDualProblem1.EqualityConstraints |
getEqualityConstraints()
Gets the equality constraints, \(h_{i}(x) = 0\)
|
LessThanConstraints |
getLessThanConstraints()
Gets the less-than-or-equal-to constraints, gi(x) ≤
0
|
int |
m()
Gets the dimension of the system, i.e., m = the dimension of
y.
|
int |
n_l() |
int |
n_q()
Gets the total number of \({A^q}_i\) matrices.
|
int |
n_u() |
int |
n(int i)
Gets the number of columns of \({A^q}_i\).
|
public SOCPDualProblem1(Vector b, Matrix[] A_q, Vector[] c_q)
b - \(b\)A_q - \({A^q}_i\)'sc_q - \(c^q_i\)'spublic SOCPDualProblem1(Vector b, Matrix[] A_q, Vector[] c_q, Matrix A_l, Vector c_l, Matrix A_u, Vector c_u)
b - \(b\)A_q - \({A^q}_i\)'sc_q - \(c^q_i\)'sA_l - \(A^{\ell}\)c_l - \(c^l\)A_u - \(A^u\)c_u - \(c^u\)public SOCPDualProblem1(SOCPDualProblem1 that)
that - another SOCPDualProblem1public int dimension()
OptimProblemdimension in interface OptimProblempublic RealScalarFunction f()
OptimProblemf in interface OptimProblempublic LessThanConstraints getLessThanConstraints()
ConstrainedOptimProblemgetLessThanConstraints in interface ConstrainedOptimProblempublic SOCPDualProblem1.EqualityConstraints getEqualityConstraints()
ConstrainedOptimProblemgetEqualityConstraints in interface ConstrainedOptimProblempublic int m()
public int n_q()
public Vector b()
public Vector c_q(int i)
i - an index to the \(c^q_i\)'s, counting from 1public Matrix A_q(int i)
i - an index to the \({A^q}_i\)'s, counting from 1public int n(int i)
i - an index to the \({A^q}_i\)'s, counting from 1public Matrix A_full()
public Vector c_full()
public Matrix A_q_full()
public Vector c_q_full()
public Matrix A_l_full()
public Vector c_l_full()
public boolean flag_u()
public boolean flag_s()
public int n_l()
public Matrix A_l()
public Vector c_l()
public int n_u()
public Matrix A_u()
public Vector c_u()
Copyright © 2010-2026 NM Group. All Rights Reserved.