public class SOCPDualProblem extends Object implements ConstrainedOptimProblem
| Modifier and Type | Class and Description |
|---|---|
static class |
SOCPDualProblem.EqualityConstraints |
| Constructor and Description |
|---|
SOCPDualProblem(SOCPDualProblem that)
Copy constructor.
|
SOCPDualProblem(Vector b,
Matrix[] A,
Vector[] c)
Constructs a dual SOCP problem.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
A()
\[
A = [A_1, A_2, ...
|
Matrix |
A(int i)
Gets Ai.
|
Vector |
b()
Gets b.
|
Vector |
c() |
Vector |
c(int i)
Gets ci.
|
int |
dimension()
Get the number of variables.
|
RealScalarFunction |
f()
Get the objective function.
|
SOCPDualProblem.EqualityConstraints |
getEqualityConstraints()
Gets the equality constraints, hi(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(int i)
Gets the number of columns of Ai.
|
int |
q()
Gets the number of A matrices.
|
public SOCPDualProblem(Vector b, Matrix[] A, Vector[] c)
b - \(b\)A - \(A_i\)'sc - \(c_i\)'spublic SOCPDualProblem(SOCPDualProblem that)
that - another SOCPDualProblempublic int dimension()
OptimProblemdimension in interface OptimProblempublic RealScalarFunction f()
OptimProblemf in interface OptimProblempublic LessThanConstraints getLessThanConstraints()
ConstrainedOptimProblemgetLessThanConstraints in interface ConstrainedOptimProblempublic SOCPDualProblem.EqualityConstraints getEqualityConstraints()
ConstrainedOptimProblemgetEqualityConstraints in interface ConstrainedOptimProblempublic int m()
public int q()
public Vector b()
public Vector c(int i)
i - an index to the c's, counting from 1public Matrix A(int i)
i - an index to the A's, counting from 1public int n(int i)
i - an index to the A's, counting from 1public Matrix A()
public Vector c()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.