DSDP
Functions
sdpconesetup.c File Reference

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.
 
int DSDPBlockSetup (SDPblk *blk, int blockj, DSDPVec WY)
 Allocate data structures of one block the cone.
 
int DSDPBlockTakeDown (SDPblk *blk)
 Free data structures in one block of the cone.
 
int DSDPConeTakeDown (SDPCone sdpcone)
 Free data structure of the cone.
 
int DSDPCreateS (DSDPBlockData *, char, int, DSDPVec, DSDPVMat, SDPConeVec, SDPConeVec, DSDPDualMat *, DSDPDualMat *, DSDPDSMat *, void *)
 Create S1, S2, and DS.
 
int DSDPDataTransposeInitialize (DSDPDataTranspose *ATranspose)
 Initialize transpose structure for data.
 
int DSDPDataTransposeSetup (DSDPDataTranspose *ATranspose, SDPblk *blk, int nblocks, int m)
 Set up transpose structure for data.
 
int DSDPDataTransposeTakeDown (DSDPDataTranspose *ATranspose)
 Free transpose structure for data.
 
int SDPConeDestroy (SDPCone sdpcone)
 Free data structure of the cone.
 
int SDPConeSetup (SDPCone sdpcone, DSDPVec yy0)
 Allocate data structure of the cone.
 
int SDPConeSetup2 (SDPCone sdpcone, DSDPVec yy0, DSDPSchurMat M)
 Allocate data structure of the cone.
 

Detailed Description

Setup the internal data structures needed by the SDPCone object.

Definition in file sdpconesetup.c.

Function Documentation

◆ DSDPBlockInitialize()

int DSDPBlockInitialize ( SDPblk blk)

Initialize data structures in one block of the cone.

Parameters
blkblock of semidefinite cone

Definition at line 279 of file sdpconesetup.c.

◆ DSDPBlockSetup()

int DSDPBlockSetup ( SDPblk blk,
int  blockj,
DSDPVec  WY 
)

Allocate data structures of one block the cone.

Parameters
blkblock in semidefinite cone
blockjblock number
WYsample variable vector.

Definition at line 154 of file sdpconesetup.c.

Referenced by SDPConeSetup2().

◆ DSDPBlockTakeDown()

int DSDPBlockTakeDown ( SDPblk blk)

Free data structures in one block of the cone.

Parameters
blkblock of semidefinite cone

Definition at line 305 of file sdpconesetup.c.

Referenced by DSDPConeTakeDown().

◆ DSDPConeTakeDown()

int DSDPConeTakeDown ( SDPCone  sdpcone)

Free data structure of the cone.

Parameters
sdpconesemidefinite cone

Definition at line 328 of file sdpconesetup.c.

Referenced by SDPConeDestroy().

◆ DSDPCreateS()

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.

Parameters
ADATAsemidefinite block of data.
UPLQsuch as packed symmetric or upper full symmetric
trankrank of data in block
WYWork vector
TWork matrix.
W1Work vector
W2Work vector
SNew dual matrix.
SSNew dual matrix.
DSNew DS matrix.
ctxpointer to structure.

Definition at line 314 of file sdpsss.c.

Referenced by DSDPBlockSetup().

◆ DSDPDataTransposeInitialize()

int DSDPDataTransposeInitialize ( DSDPDataTranspose ATranspose)

Initialize transpose structure for data.

Parameters
ATransposetranspose structure for data.

Definition at line 15 of file sdpconesetup.c.

Referenced by DSDPDataTransposeTakeDown().

◆ DSDPDataTransposeSetup()

int DSDPDataTransposeSetup ( DSDPDataTranspose ATranspose,
SDPblk blk,
int  nblocks,
int  m 
)

Set up transpose structure for data.

Parameters
ATransposetranspose structure for data.
blksemidefinite blocks
nblocksnumber of blocks
mdimension of Y vector.

Definition at line 36 of file sdpconesetup.c.

Referenced by SDPConeSetup().

◆ DSDPDataTransposeTakeDown()

int DSDPDataTransposeTakeDown ( DSDPDataTranspose ATranspose)

Free transpose structure for data.

Parameters
ATransposetranspose structure for data.

Definition at line 89 of file sdpconesetup.c.

Referenced by DSDPConeTakeDown(), and DSDPDataTransposeSetup().

◆ SDPConeDestroy()

int SDPConeDestroy ( SDPCone  sdpcone)

Free data structure of the cone.

Parameters
sdpconesemidefinite cone

Definition at line 350 of file sdpconesetup.c.

◆ SDPConeSetup()

int SDPConeSetup ( SDPCone  sdpcone,
DSDPVec  yy0 
)

Allocate data structure of the cone.

Parameters
sdpconesemidefinite cone
yy0variable vector

Definition at line 249 of file sdpconesetup.c.

◆ SDPConeSetup2()

int SDPConeSetup2 ( SDPCone  sdpcone,
DSDPVec  yy0,
DSDPSchurMat  M 
)

Allocate data structure of the cone.

Parameters
sdpconesemidefinite cone
yy0variable vector
MSchur matrix.

Definition at line 224 of file sdpconesetup.c.