Definition in file dsdpsdp.h.
Go to the source code of this file.
Functions | |
int | DSDPAddSDP (DSDP, SDPCone) |
Pass a semidefinite cone to the solver. | |
int | DSDPBlockAddDataMatrix (DSDPBlockData *, int, struct DSDPDataMat_Ops *, void *) |
Add data matrix into SDP block. | |
int | DSDPBlockADot (DSDPBlockData *, double, DSDPVec, DSDPVMat, DSDPVec) |
Compute inner product of XX with data matrices. | |
int | DSDPBlockASum (DSDPBlockData *, double, DSDPVec, DSDPVMat) |
Sum the data matrices. | |
int | DSDPBlockCountNonzeroMatrices (DSDPBlockData *, int *) |
Count how many data matrices are in a block of data. | |
int | DSDPBlockDataAllocate (DSDPBlockData *, int) |
Allocate some structures. | |
int | DSDPBlockDataDestroy (DSDPBlockData *) |
Free the data matrices. | |
int | DSDPBlockDataInitialize (DSDPBlockData *) |
Set pointers to null. | |
int | DSDPBlockDataMarkNonzeroMatrices (DSDPBlockData *, int *) |
Mark which variable in block have a data matrix. | |
int | DSDPBlockDataRowSparsity (DSDPBlockData *, int, int[], int[], int) |
Determine sparsity pattern of data. | |
int | DSDPBlockFactorData (DSDPBlockData *, DSDPVMat, SDPConeVec) |
Factor the data matrices. | |
int | DSDPBlockGetMatrix (DSDPBlockData *, int, int *, double *, DSDPDataMat *) |
Get a data matrix from a block of data. | |
int | DSDPBlockInitialize (SDPblk *) |
Initialize data structures in one block of the cone. | |
int | DSDPBlockRemoveDataMatrix (DSDPBlockData *, int) |
Remove a data matrix. | |
int | DSDPBlockSetDataMatrix (DSDPBlockData *, int, struct DSDPDataMat_Ops *, void *) |
Set data matrix into SDP block. | |
int | DSDPBlockTakeDown (SDPblk *) |
Free data structures in one block of the cone. | |
int | DSDPBlockTakeDownData (DSDPBlockData *) |
Free structures in block of data. | |
int | DSDPBlockvAv (DSDPBlockData *, double, DSDPVec, SDPConeVec, DSDPVec) |
Set VAV[i] to aa * Alpha[i] * V' A[i] V. | |
int | DSDPBlockView (DSDPBlockData *) |
Print the structure of the block. | |
int | DSDPBlockView2 (DSDPBlockData *) |
Print the data. | |
int | DSDPDataMatCheck (DSDPDataMat, SDPConeVec, DSDPIndex, DSDPVMat) |
Check correctness of operations on the data. | |
int | DSDPDataTransposeInitialize (DSDPDataTranspose *) |
Initialize transpose structure for data. | |
int | DSDPDataTransposeSetup (DSDPDataTranspose *, SDPblk *, int, int) |
Set up transpose structure for data. | |
int | DSDPDataTransposeTakeDown (DSDPDataTranspose *) |
Free transpose structure for data. | |
int | DSDPMakeVMat (char, int, DSDPVMat *) |
Allocate V matrix. | |
int | DSDPMakeVMatWithArray (char, double[], int, int, DSDPVMat *) |
Allocate V matrix using the given array. | |
int | DSDPSetDataMatZero (DSDPDataMat *) |
Make a data matrix a zero matrix. | |
int | SDPConeCheckJ (SDPCone, int) |
Check validity of parameter. | |
int | SDPConeCheckM (SDPCone, int) |
Check validity of parameter. | |
int | SDPConeCheckN (SDPCone, int, int) |
Check validity of parameter. | |
int | SDPConeCheckStorageFormat (SDPCone, int, char) |
Check validity of parameters. | |
int | SDPConeComputeHessian (SDPCone, double, DSDPSchurMat, DSDPVec, DSDPVec) |
Compute the Hessian to the barrier term. | |
int | SDPConeComputeRHS (SDPCone, int, double, DSDPVec, DSDPVec, DSDPVec) |
Compute the gradient to the barrier term. | |
int | SDPConeComputeSS (SDPCone, int, DSDPVec, DSDPVMat) |
Sum the data matrices. | |
int | SDPConeComputeX3 (SDPCone, int, double, DSDPVec, DSDPVec, DSDPVMat) |
Compute the matrix X with the given information. | |
int | SDPConeComputeXDot (SDPCone, int, DSDPVec, DSDPVMat, DSDPVec, double *, double *, double *) |
Compute inner product of X with the Data, S, and norm of X. | |
int | SDPConeComputeXX (SDPCone, int, DSDPVec, double, DSDPDualMat, DSDPVMat) |
Compute X. | |
int | SDPConeDestroy (SDPCone) |
Free data structure of the cone. | |
int | SDPConeMultiply (SDPCone, int, double, DSDPVec, DSDPVec, DSDPVec) |
Compute the gradient to the barrier term. | |
int | SDPConeSetRIdentity (SDPCone, int, int, double) |
Add identify matrix to dual matrix. | |
int | SDPConeSetup (SDPCone, DSDPVec) |
Allocate data structure of the cone. | |
int | SDPConeSetup2 (SDPCone, DSDPVec, DSDPSchurMat) |
Allocate data structure of the cone. |
|
Pass a semidefinite cone to the solver.
Definition at line 331 of file sdpkcone.c. Referenced by DSDPCreateSDPCone(). |
|
Add data matrix into SDP block.
Definition at line 381 of file dsdpblock.c. Referenced by DSDPBlockSetDataMatrix(), and SDPConeAddDataMatrix(). |
|
Compute inner product of XX with data matrices.
Definition at line 49 of file dsdpblock.c. Referenced by SDPConeAddADotX(), SDPConeComputeHessian(), SDPConeComputeRHS(), and SDPConeComputeXDot(). |
|
Sum the data matrices.
Definition at line 20 of file dsdpblock.c. Referenced by SDPConeComputeSS(), and SDPConeMultiply(). |
|
Count how many data matrices are in a block of data.
Definition at line 272 of file dsdpblock.c. Referenced by SDPConeCheckData(), SDPConeComputeRHS(), SDPConeComputeXX(), SDPConeMultiply(), SDPConeView3(), and SDPConeViewDataMatrix(). |
|
Allocate some structures.
Definition at line 221 of file dsdpblock.c. Referenced by DSDPBlockAddDataMatrix(), and SDPConeSetSparsity(). |
|
Free the data matrices.
Definition at line 195 of file dsdpblock.c. Referenced by SDPConeDestroy(). |
|
Set pointers to null.
Definition at line 163 of file dsdpblock.c. Referenced by DSDPBlockDataDestroy(), and DSDPBlockInitialize(). |
|
Mark which variable in block have a data matrix.
Definition at line 254 of file dsdpblock.c. Referenced by DSDPDataTransposeSetup(). |
|
Determine sparsity pattern of data.
Definition at line 330 of file dsdpblock.c. |
|
Factor the data matrices.
Definition at line 113 of file dsdpblock.c. Referenced by DSDPBlockSetup(). |
|
Get a data matrix from a block of data.
Definition at line 307 of file dsdpblock.c. Referenced by DSDPBlockFactorData(), SDPConeCheckData(), SDPConeComputeHessian(), SDPConeComputeRHS(), SDPConeComputeXX(), SDPConeMultiply(), and SDPConeViewDataMatrix(). |
|
Initialize data structures in one block of the cone.
Definition at line 279 of file sdpconesetup.c. Referenced by DSDPCreateSDPCone(). |
|
Remove a data matrix.
Definition at line 351 of file dsdpblock.c. Referenced by DSDPBlockSetDataMatrix(), SDPConeRemoveDataMatrix(), and SDPConeSetRMatrix(). |
|
Set data matrix into SDP block.
Definition at line 406 of file dsdpblock.c. Referenced by SDPConeSetRMatrix(). |
|
Free data structures in one block of the cone.
Definition at line 305 of file sdpconesetup.c. Referenced by DSDPConeTakeDown(). |
|
Free structures in block of data.
Definition at line 182 of file dsdpblock.c. Referenced by DSDPBlockDataDestroy(), and DSDPBlockTakeDown(). |
|
Set VAV[i] to aa * Alpha[i] * V' A[i] V.
Definition at line 84 of file dsdpblock.c. Referenced by SDPConeAddXVAV(), and SDPConeComputeHessian(). |
|
Print the structure of the block.
Definition at line 454 of file dsdpblock.c. Referenced by SDPConeView(). |
|
Print the data.
Definition at line 474 of file dsdpblock.c. Referenced by SDPConeView2(). |
|
Check correctness of operations on the data.
Definition at line 498 of file dsdpblock.c. Referenced by SDPConeCheckData(). |
|
Initialize transpose structure for data.
Definition at line 15 of file sdpconesetup.c. Referenced by DSDPCreateSDPCone(), and DSDPDataTransposeTakeDown(). |
|
Set up transpose structure for data.
Definition at line 36 of file sdpconesetup.c. Referenced by SDPConeSetup(). |
|
Free transpose structure for data.
Definition at line 89 of file sdpconesetup.c. Referenced by DSDPConeTakeDown(), and DSDPDataTransposeSetup(). |
|
Allocate V matrix.
Definition at line 351 of file sdpsss.c. Referenced by DSDPBlockSetup(), and SDPConeSetXMat(). |
|
Allocate V matrix using the given array.
Definition at line 381 of file sdpsss.c. Referenced by SDPConeAddADotX(), SDPConeComputeS(), SDPConeComputeX(), SDPConeSetXArray(), and SDPConeViewX(). |
|
Make a data matrix a zero matrix.
Definition at line 537 of file dsdpadddatamat.c. Referenced by DSDPBlockRemoveDataMatrix(). |
|
Check validity of parameter.
Definition at line 31 of file dsdpadddata.c. Referenced by SDPConeAddADotX(), SDPConeAddDataMatrix(), SDPConeCheckN(), SDPConeCheckStorageFormat(), SDPConeComputeRHS(), SDPConeComputeXV(), SDPConeComputeXX(), SDPConeGetBlockSize(), SDPConeGetStorageFormat(), SDPConeGetXArray(), SDPConeMatrixView(), SDPConeMultiply(), SDPConeRemoveDataMatrix(), SDPConeRestoreXArray(), SDPConeSetBlockSize(), SDPConeSetRMatrix(), SDPConeSetSparsity(), SDPConeSetStorageFormat(), SDPConeSetXArray(), and SDPConeViewDataMatrix(). |
|
Check validity of parameter.
Definition at line 68 of file dsdpadddata.c. Referenced by SDPConeAddADotX(), and SDPConeComputeS(). |
|
Check validity of parameter.
Definition at line 48 of file dsdpadddata.c. Referenced by SDPConeAddDataMatrix(), SDPConeAddXVAV(), SDPConeComputeS(), SDPConeComputeX(), SDPConeSetRMatrix(), SDPConeSetXArray(), SDPConeViewX(), and SDPConeXVMultiply(). |
|
Check validity of parameters.
Definition at line 101 of file dsdpadddata.c. |
|
Compute the Hessian to the barrier term.
Definition at line 30 of file sdpcompute.c. |
|
Compute the gradient to the barrier term.
Definition at line 125 of file sdpcompute.c. |
|
Sum the data matrices.
Definition at line 18 of file sdpcone.c. Referenced by SDPConeComputeS(), SDPConeComputeX3(), and SDPConeComputeXV(). |
|
Compute the matrix X with the given information.
Definition at line 140 of file sdpcone.c. Referenced by SDPConeComputeX(). |
|
Compute inner product of X with the Data, S, and norm of X.
Definition at line 111 of file sdpcone.c. Referenced by SDPConeComputeX(). |
|
Compute X.
Definition at line 235 of file sdpcompute.c. Referenced by SDPConeComputeX3(). |
|
Free data structure of the cone.
Definition at line 350 of file sdpconesetup.c. |
|
Compute the gradient to the barrier term.
Definition at line 182 of file sdpcompute.c. |
|
Add identify matrix to dual matrix.
Definition at line 438 of file dsdpadddatamat.c. Referenced by SDPConeSetup(). |
|
Allocate data structure of the cone.
Definition at line 249 of file sdpconesetup.c. |
|
Allocate data structure of the cone.
Definition at line 224 of file sdpconesetup.c. |