DSDP
|
Set block sizes, sparsity, format, and data matrices. More...
Go to the source code of this file.
Functions | |
int | SDPConeAddDataMatrix (SDPCone sdpcone, int blockj, int vari, int n, char format, struct DSDPDataMat_Ops *dsdpdataops, void *data) |
Add a data matrix ![]() | |
int | SDPConeCheckData (SDPCone sdpcone) |
Check the matrix operations on a data matrix;. More... | |
int | SDPConeCheckI (SDPCone sdpcone, int vari) |
Check validity of parameter. More... | |
int | SDPConeCheckJ (SDPCone sdpcone, int blockj) |
Check validity of parameter. More... | |
int | SDPConeCheckM (SDPCone sdpcone, int m) |
Check validity of parameter. More... | |
int | SDPConeCheckN (SDPCone sdpcone, int blockj, int n) |
Check validity of parameter. More... | |
int | SDPConeCheckStorageFormat (SDPCone sdpcone, int blockj, char format) |
Check validity of parameters. More... | |
int | SDPConeClearVMatrix (SDPCone sdpcone, int blockj, int n) |
Free V matrix. More... | |
int | SDPConeGetBlockSize (SDPCone sdpcone, int blockj, int *n) |
Get the dimension of one block in the semidefinite cone. More... | |
int | SDPConeGetNumberOfBlocks (SDPCone sdpcone, int *nblocks) |
Get the number of blocks in the semidefinite cone. More... | |
int | SDPConeGetStorageFormat (SDPCone sdpcone, int blockj, char *format) |
Get the storage format for the block. More... | |
int | SDPConeGetXArray (SDPCone sdpcone, int blockj, double *xx[], int *nn) |
After applying the solver, set a pointer to the array in the object with the solution X. More... | |
int | SDPConeMatrixView (SDPCone sdpcone, int blockj) |
Print the dense array to the screen. More... | |
int | SDPConeRemoveDataMatrix (SDPCone sdpcone, int blockj, int vari) |
Remove the data matrix ![]() | |
int | SDPConeRestoreXArray (SDPCone sdpcone, int blockj, double *xx[], int *nn) |
Restore the dense array and set these pointers to null. More... | |
int | SDPConeSetBlockSize (SDPCone sdpcone, int blockj, int n) |
Set the dimension of one block in the semidefinite cone. More... | |
int | SDPConeSetRMatrix (SDPCone sdpcone, int blockj, int n, char format, struct DSDPDataMat_Ops *dsdpdataops, void *data) |
Add identity to dual matrix. More... | |
int | SDPConeSetSparsity (SDPCone sdpcone, int blockj, int nnz) |
Set the number of nonzero matrices in a block of the semidefinite cone. More... | |
int | SDPConeSetStorageFormat (SDPCone sdpcone, int blockj, char format) |
Set the dense storage format of a block in the semidefinite cone. More... | |
int | SDPConeSetXArray (SDPCone sdpcone, int blockj, int n, double xx[], int nn) |
Provide an array for the SDPCone object can use to store dense matrices. More... | |
int | SDPConeSetXMat (SDPCone sdpcone, int blockj, int n) |
Create X matrix. More... | |
int | SDPConeUseFullSymmetricFormat (SDPCone sdpcone, int blockj) |
Use full symmetric format for the dense array. More... | |
int | SDPConeUsePackedFormat (SDPCone sdpcone, int blockj) |
Use packed symmetric format for the dense array. More... | |
int | SDPConeValidStorageFormat (SDPCone sdpcone, char format) |
Check validity of parameter. More... | |
int | SDPConeView (SDPCone sdpcone) |
Print the SDPCone to the screen;. More... | |
int | SDPConeView2 (SDPCone sdpcone) |
Print the SDP cone to the screen in a second way. More... | |
int | SDPConeView3 (SDPCone sdpcone) |
Print the SDP cone to the screen in a third way. More... | |
int | SDPConeViewDataMatrix (SDPCone sdpcone, int blockj, int vari) |
Print a data matrix to the screen. More... | |
Set block sizes, sparsity, format, and data matrices.
Definition in file dsdpadddata.c.
int SDPConeCheckI | ( | SDPCone | sdpcone, |
int | vari | ||
) |
Check validity of parameter.
sdpcone | SDP cone |
vari | variable i from 0 through m |
Definition at line 15 of file dsdpadddata.c.
Referenced by SDPConeAddDataMatrix(), SDPConeRemoveDataMatrix(), and SDPConeViewDataMatrix().
int SDPConeCheckJ | ( | SDPCone | sdpcone, |
int | blockj | ||
) |
Check validity of parameter.
sdpcone | SDP cone |
blockj | from 0 to nblocks |
Definition at line 31 of file dsdpadddata.c.
Referenced by SDPConeAddADotX(), SDPConeAddDataMatrix(), SDPConeCheckN(), SDPConeCheckStorageFormat(), SDPConeComputeXV(), SDPConeGetBlockSize(), SDPConeGetStorageFormat(), SDPConeGetXArray(), SDPConeMatrixView(), SDPConeRemoveDataMatrix(), SDPConeRestoreXArray(), SDPConeSetBlockSize(), SDPConeSetRMatrix(), SDPConeSetSparsity(), SDPConeSetStorageFormat(), SDPConeSetXArray(), and SDPConeViewDataMatrix().
int SDPConeCheckM | ( | SDPCone | sdpcone, |
int | m | ||
) |
Check validity of parameter.
sdpcone | SDP cone |
m | number of y variables |
Definition at line 68 of file dsdpadddata.c.
Referenced by SDPConeAddADotX(), and SDPConeComputeS().
int SDPConeCheckN | ( | SDPCone | sdpcone, |
int | blockj, | ||
int | n | ||
) |
Check validity of parameter.
sdpcone | SDP cone |
blockj | block number |
n | dimension of block. |
Definition at line 48 of file dsdpadddata.c.
Referenced by SDPConeAddDataMatrix(), SDPConeAddXVAV(), SDPConeComputeS(), SDPConeComputeX(), SDPConeSetRMatrix(), SDPConeSetXArray(), SDPConeViewX(), and SDPConeXVMultiply().
int SDPConeCheckStorageFormat | ( | SDPCone | sdpcone, |
int | blockj, | ||
char | format | ||
) |
Check validity of parameters.
sdpcone | SDP cone |
blockj | block number |
format | such as packed symmetric or upper full symmetric |
Definition at line 101 of file dsdpadddata.c.
Referenced by SDPConeAddDataMatrix(), and SDPConeSetRMatrix().
int SDPConeClearVMatrix | ( | SDPCone | sdpcone, |
int | blockj, | ||
int | n | ||
) |
Free V matrix.
sdpcone | SDP cone |
blockj | block number j from 0 to nblocks |
n | dimension of the matrix |
Definition at line 228 of file dsdpadddata.c.
Referenced by SDPConeSetXArray(), and SDPConeSetXMat().
int SDPConeSetRMatrix | ( | SDPCone | sdpcone, |
int | blockj, | ||
int | n, | ||
char | format, | ||
struct DSDPDataMat_Ops * | dsdpdataops, | ||
void * | data | ||
) |
Add identity to dual matrix.
sdpcone | SDP cone |
blockj | block number j from 0 to nblocks |
n | dimension of the matrix |
format | storage format 'P' (default) or 'U' |
data | address of a structure ( cast to void* ) with matrix data. |
dsdpdataops | address of a structure of function pointers that operate on the matrix data |
Definition at line 181 of file dsdpadddata.c.
int SDPConeSetXMat | ( | SDPCone | sdpcone, |
int | blockj, | ||
int | n | ||
) |
Create X matrix.
sdpcone | SDP cone |
blockj | block number j from 0 to nblocks |
n | dimension of the matrix |
Definition at line 247 of file dsdpadddata.c.
int SDPConeValidStorageFormat | ( | SDPCone | sdpcone, |
char | format | ||
) |
Check validity of parameter.
sdpcone | SDP cone |
format | such as packed symmetric or upper full symmetric |
Definition at line 84 of file dsdpadddata.c.
Referenced by SDPConeCheckStorageFormat(), and SDPConeSetStorageFormat().
int SDPConeView | ( | SDPCone | sdpcone | ) |
Print the SDPCone to the screen;.
sdpcone | the cone |
Definition at line 617 of file dsdpadddata.c.