Definition in file dsdpcone.h.
Go to the source code of this file.
Typedefs | |
| typedef DSDPCone_C | DSDPCone |
| This object holds the data of a SDP, LP, or other cone. Its structure is opaque to the DSDP Solver, but it must implement the interface below and provide a structure of function pointers. | |
Functions | |
| int | DSDPConeANorm2 (DSDPCone, DSDPVec) |
| Add square of 2-norm of data correponding to each variable y. | |
| int | DSDPConeComputeHessian (DSDPCone, double, DSDPSchurMat, DSDPVec, DSDPVec) |
| Compute Hessian and gradient of barrier function. | |
| int | DSDPConeComputeLogSDeterminant (DSDPCone, double *, double *) |
| Evaluate logrithmic barrier function. | |
| int | DSDPConeComputeMaxStepLength (DSDPCone, DSDPVec, DSDPDualFactorMatrix, double *) |
| Determine distance to the edge of the cone. | |
| int | DSDPConeComputeRHS (DSDPCone, double, DSDPVec, DSDPVec, DSDPVec) |
| Compute gradient of barrier function. | |
| int | DSDPConeComputeS (DSDPCone, DSDPVec, DSDPDualFactorMatrix, DSDPTruth *) |
| Given y, compute S and determine whether its in the cone. | |
| int | DSDPConeComputeX (DSDPCone, double, DSDPVec, DSDPVec, DSDPVec, double *) |
| Given y,dy, and mu, construct X and add its inner product with the data and S. | |
| int | DSDPConeDestroy (DSDPCone *) |
| Free the internal memory of the cone. | |
| int | DSDPConeGetDimension (DSDPCone, double *) |
| Provide the dimension of the cone. | |
| int | DSDPConeInitialize (DSDPCone *) |
| Initialize the pointers to 0. | |
| int | DSDPConeInvertS (DSDPCone) |
| Invert the dual matrix S. | |
| int | DSDPConeMonitor (DSDPCone, int) |
| Do anything at in the cone at each iteration. | |
| int | DSDPConeMultiplyAdd (DSDPCone, double, DSDPVec, DSDPVec, DSDPVec) |
| Multiply Hessian by a vector and add the result. | |
| int | DSDPConeSetData (DSDPCone *, struct DSDPCone_Ops *, void *) |
| Initialize the pointers to 0. | |
| int | DSDPConeSetUp (DSDPCone, DSDPVec) |
| Factor the data and allocate data structures. | |
| int | DSDPConeSetUp2 (DSDPCone, DSDPVec, DSDPSchurMat) |
| Factor the data and allocate data structures. | |
| int | DSDPConeSetXMaker (DSDPCone, double, DSDPVec, DSDPVec) |
| Pass information needed to construct X. | |
| int | DSDPConeSparsityInSchurMat (DSDPCone, int, int[], int) |
| Identify sparsity pattern in a row of the Hessian term. | |
| int | DSDPConeView (DSDPCone) |
| View contents of the cone. | |
| int | DSDPGetConeName (DSDPCone, char *, int) |
| Get name of the cone. | |
|
|
This object holds the data of a SDP, LP, or other cone. Its structure is opaque to the DSDP Solver, but it must implement the interface below and provide a structure of function pointers.
Definition at line 27 of file dsdpcone.h. |
|
||||||||||||
|
Add square of 2-norm of data correponding to each variable y.
Definition at line 168 of file dsdpcone.c. Referenced by DSDPComputeANorm2(). |
|
||||||||||||||||||||||||
|
Compute Hessian and gradient of barrier function.
Definition at line 92 of file dsdpcone.c. Referenced by DSDPComputeHessian(). |
|
||||||||||||||||
|
Evaluate logrithmic barrier function.
Definition at line 403 of file dsdpcone.c. Referenced by DSDPComputeLogSDeterminant(). |
|
||||||||||||||||||||
|
Determine distance to the edge of the cone.
Definition at line 288 of file dsdpcone.c. Referenced by DSDPComputeMaxStepLength(). |
|
||||||||||||||||||||||||
|
Compute gradient of barrier function.
Definition at line 147 of file dsdpcone.c. Referenced by DSDPComputeG(). |
|
||||||||||||||||||||
|
Given y, compute S and determine whether its in the cone.
Definition at line 242 of file dsdpcone.c. Referenced by DSDPComputeSS(). |
|
||||||||||||||||||||||||||||
|
Given y,dy, and mu, construct X and add its inner product with the data and S.
Definition at line 216 of file dsdpcone.c. Referenced by DSDPComputeXVariables(). |
|
|
Free the internal memory of the cone.
Definition at line 64 of file dsdpcone.c. Referenced by DSDPDestroyCones(). |
|
||||||||||||
|
Provide the dimension of the cone.
Definition at line 312 of file dsdpcone.c. Referenced by DSDPGetConicDimension(). |
|
|
Initialize the pointers to 0.
Definition at line 495 of file dsdpcone.c. Referenced by DSDPAddCone(), DSDPConeDestroy(), and DSDPDestroyCones(). |
|
|
Invert the dual matrix S.
Definition at line 265 of file dsdpcone.c. Referenced by DSDPInvertS(). |
|
||||||||||||
|
Do anything at in the cone at each iteration.
Definition at line 380 of file dsdpcone.c. Referenced by DSDPMonitorCones(). |
|
||||||||||||||||||||||||
|
Multiply Hessian by a vector and add the result.
Definition at line 119 of file dsdpcone.c. Referenced by DSDPHessianMultiplyAdd(). |
|
||||||||||||||||
|
Initialize the pointers to 0.
Definition at line 477 of file dsdpcone.c. Referenced by DSDPAddCone(), and DSDPConeInitialize(). |
|
||||||||||||
|
Factor the data and allocate data structures.
Definition at line 22 of file dsdpcone.c. Referenced by DSDPSetUpCones(). |
|
||||||||||||||||
|
Factor the data and allocate data structures.
Definition at line 43 of file dsdpcone.c. Referenced by DSDPSetUpCones2(). |
|
||||||||||||||||||||
|
Pass information needed to construct X.
Definition at line 191 of file dsdpcone.c. Referenced by DSDPPassXVectors(). |
|
||||||||||||||||||||
|
Identify sparsity pattern in a row of the Hessian term.
Definition at line 338 of file dsdpcone.c. Referenced by DSDPSchurSparsity(). |
|
|
View contents of the cone.
Definition at line 358 of file dsdpcone.c. Referenced by DSDPViewCones(). |
|
||||||||||||||||
|
Get name of the cone.
Definition at line 427 of file dsdpcone.c. Referenced by DSDPSetCone(). |
1.4.2