DSDP
|
Setup the internal data structures needed by the SDPCone object. More...
Go to the source code of this file.
Functions | |
int | DSDPBlockInitialize (SDPblk *blk) |
Initialize data structures in one block of the cone. More... | |
int | DSDPBlockSetup (SDPblk *blk, int blockj, DSDPVec WY) |
Allocate data structures of one block the cone. More... | |
int | DSDPBlockTakeDown (SDPblk *blk) |
Free data structures in one block of the cone. More... | |
int | DSDPConeTakeDown (SDPCone sdpcone) |
Free data structure of the cone. More... | |
int | DSDPCreateS (DSDPBlockData *, char, int, DSDPVec, DSDPVMat, SDPConeVec, SDPConeVec, DSDPDualMat *, DSDPDualMat *, DSDPDSMat *, void *) |
Create S1, S2, and DS. More... | |
int | DSDPDataTransposeInitialize (DSDPDataTranspose *ATranspose) |
Initialize transpose structure for data. More... | |
int | DSDPDataTransposeSetup (DSDPDataTranspose *ATranspose, SDPblk *blk, int nblocks, int m) |
Set up transpose structure for data. More... | |
int | DSDPDataTransposeTakeDown (DSDPDataTranspose *ATranspose) |
Free transpose structure for data. More... | |
int | SDPConeDestroy (SDPCone sdpcone) |
Free data structure of the cone. More... | |
int | SDPConeSetup (SDPCone sdpcone, DSDPVec yy0) |
Allocate data structure of the cone. More... | |
int | SDPConeSetup2 (SDPCone sdpcone, DSDPVec yy0, DSDPSchurMat M) |
Allocate data structure of the cone. More... | |
Setup the internal data structures needed by the SDPCone object.
Definition in file sdpconesetup.c.
int DSDPBlockInitialize | ( | SDPblk * | blk | ) |
Initialize data structures in one block of the cone.
blk | block of semidefinite cone |
Definition at line 279 of file sdpconesetup.c.
Allocate data structures of one block the cone.
blk | block in semidefinite cone |
blockj | block number |
WY | sample variable vector. |
Definition at line 154 of file sdpconesetup.c.
int DSDPBlockTakeDown | ( | SDPblk * | blk | ) |
Free data structures in one block of the cone.
blk | block of semidefinite cone |
Definition at line 305 of file sdpconesetup.c.
Referenced by DSDPConeTakeDown().
int DSDPConeTakeDown | ( | SDPCone | sdpcone | ) |
Free data structure of the cone.
sdpcone | semidefinite cone |
Definition at line 328 of file sdpconesetup.c.
Referenced by SDPConeDestroy().
int DSDPCreateS | ( | DSDPBlockData * | ADATA, |
char | UPLQ, | ||
int | trank, | ||
DSDPVec | WY, | ||
DSDPVMat | T, | ||
SDPConeVec | W1, | ||
SDPConeVec | W2, | ||
DSDPDualMat * | S, | ||
DSDPDualMat * | SS, | ||
DSDPDSMat * | DS, | ||
void * | ctx | ||
) |
Create S1, S2, and DS.
ADATA | semidefinite block of data. |
UPLQ | such as packed symmetric or upper full symmetric |
trank | rank of data in block |
WY | Work vector |
T | Work matrix. |
W1 | Work vector |
W2 | Work vector |
S | New dual matrix. |
SS | New dual matrix. |
DS | New DS matrix. |
ctx | pointer to structure. |
int DSDPDataTransposeInitialize | ( | DSDPDataTranspose * | ATranspose | ) |
Initialize transpose structure for data.
ATranspose | transpose structure for data. |
Definition at line 15 of file sdpconesetup.c.
Referenced by DSDPDataTransposeTakeDown().
int DSDPDataTransposeSetup | ( | DSDPDataTranspose * | ATranspose, |
SDPblk * | blk, | ||
int | nblocks, | ||
int | m | ||
) |
Set up transpose structure for data.
ATranspose | transpose structure for data. |
blk | semidefinite blocks |
nblocks | number of blocks |
m | dimension of Y vector. |
Definition at line 36 of file sdpconesetup.c.
int DSDPDataTransposeTakeDown | ( | DSDPDataTranspose * | ATranspose | ) |
Free transpose structure for data.
ATranspose | transpose structure for data. |
Definition at line 89 of file sdpconesetup.c.
Referenced by DSDPDataTransposeSetup().
int SDPConeDestroy | ( | SDPCone | sdpcone | ) |
Free data structure of the cone.
sdpcone | semidefinite cone |
Definition at line 350 of file sdpconesetup.c.
Allocate data structure of the cone.
sdpcone | semidefinite cone |
yy0 | variable vector |
Definition at line 249 of file sdpconesetup.c.
int SDPConeSetup2 | ( | SDPCone | sdpcone, |
DSDPVec | yy0, | ||
DSDPSchurMat | M | ||
) |
Allocate data structure of the cone.
sdpcone | semidefinite cone |
yy0 | variable vector |
M | Schur matrix. |
Definition at line 224 of file sdpconesetup.c.